From 2577d9341adb7e3533818cdff12b2080f4e622d2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 28 Dec 2019 12:42:29 +0100 Subject: gnu: Add python-pyacoustid. * gnu/packages/mp3.scm (python-pyacoustid): New variable. --- gnu/packages/mp3.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') 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))) -- cgit v1.2.3