summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-03-03 19:58:07 -0500
committerLeo Famulari <leo@famulari.name>2016-03-18 14:27:16 -0400
commit8975de8821c409312fc75b703fae36378aad745b (patch)
tree0231a24800537f925e850cfa18ec42fc9e798f75 /gnu/packages
parentcedac813a58e6220edc771f112e0d50ab188b0ce (diff)
downloadguix-8975de8821c409312fc75b703fae36378aad745b.tar.gz
gnu: Add python-musicbrainzngs.
* gnu/packages/music.scm (python-musicbrainzngs, python2-musicbrainzngs): New
variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/music.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 179b6205f3..a7881d2060 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1160,3 +1160,25 @@ streams on an individual packet/page level.")
 
 (define-public python2-mutagen
   (package-with-python2 python-mutagen))
+
+(define-public python-musicbrainzngs
+  (package
+    (name "python-musicbrainzngs")
+    (version "0.5")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "musicbrainzngs" version))
+              (sha256
+               (base32
+                "12f48llmdf5rkiqxcb70k2k1dmhm8byq0ifazvlrca8dfnmqh4r8"))))
+    (build-system python-build-system)
+    (home-page "https://python-musicbrainzngs.readthedocs.org/")
+    (synopsis "Python bindings for MusicBrainz NGS webservice")
+    (description "Musicbrainzngs implements Python bindings of the MusicBrainz
+web service.  This library can be used to retrieve music metadata from the
+MusicBrainz database.")
+    ;; 'musicbrainzngs/compat.py' is ISC licensed.
+    (license (list license:bsd-2 license:isc))))
+
+(define-public python2-musicbrainzngs
+  (package-with-python2 python-musicbrainzngs))