Subject: [bug#44958] [PATCH 1/2] gnu: Add python-pytaglib.

From: Martin Becze <[email-masked]>
Date: Mon, 30 Nov 2020 04:50:46 -0600

* gnu/packages/mp3.scm (python-pytaglib): New variable.
---
 gnu/packages/mp3.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index ac546e8c95..2a7242dc42 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -591,3 +591,28 @@ FFmpeg, etc.")
      "This package provides bindings for the Chromaprint acoustic
 fingerprinting library and the Acoustid API.")
     (license license:expat)))
+
+(define-public python-pytaglib
+  (package
+    (name "python-pytaglib")
+    (version "1.4.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytaglib" version))
+       (sha256
+        (base32
+         "0li970qslfymz4vk1wrij2nfqw3l15cpc3fjjci48mpvg17gbnhn"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("taglib" ,taglib)
+       ("python-pytest" ,python-pytest)))
+    (home-page
+     "http://github.com/supermihi/pytaglib")
+    (synopsis
+     "Python binding for taglib")
+    (description
+     "This package is a Python audio tagging library.  It is
+cross-platform, works with all Python versions, and is very
+simple to use yet fully feature.")
+    (license license:gpl3+)))
-- 
2.29.2