summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-28 12:42:29 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-28 12:44:15 +0100
commit2577d9341adb7e3533818cdff12b2080f4e622d2 (patch)
tree48dc01dc2e0852954664c9e3dfa8e2fb9e1b32fa /gnu/packages
parent8ce704b2b12bb7ecd8b12d7b091dc0f816591b8f (diff)
downloadguix-2577d9341adb7e3533818cdff12b2080f4e622d2.tar.gz
gnu: Add python-pyacoustid.
* gnu/packages/mp3.scm (python-pyacoustid): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/mp3.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index 069c12dc70..695a01a297 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -41,6 +41,7 @@
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages pulseaudio)
@@ -552,3 +553,25 @@ is to provide an accurate identifier for record tracks.")
 whatever audio backend is available, such as GStreamer, Core Audio, MAD,
 FFmpeg, etc.")
     (license license:expat)))
+
+(define-public python-pyacoustid
+  (package
+    (name "python-pyacoustid")
+    (version "1.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyacoustid" version))
+       (sha256
+        (base32
+         "1zan6c22ca6sjy0g9ajwjp6mkzw7jv8r3n7jzska09a6x254lf87"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-audioread" ,python-audioread)
+       ("python-requests" ,python-requests)))
+    (home-page "https://github.com/sampsyo/pyacoustid")
+    (synopsis "Bindings for Chromaprint acoustic fingerprinting")
+    (description
+     "This package provides bindings for the Chromaprint acoustic
+fingerprinting library and the Acoustid API.")
+    (license license:expat)))