summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-05-09 23:01:04 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-05-10 19:27:07 +0200
commitd32334eea20723e37a7e506273f71da9fa84b5e0 (patch)
tree1a6b322d85884fc64c2da9fa386162dad521432a
parente4480090e2a6d742a7ecae1076aa7e570a25bb74 (diff)
downloadguix-d32334eea20723e37a7e506273f71da9fa84b5e0.tar.gz
gnu: Add python-mir-eval.
* gnu/packages/python-xyz.scm (python-mir-eval): New variable.
-rw-r--r--gnu/packages/python-xyz.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ac9d077151..cc44463abb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3877,6 +3877,27 @@ matching them against a list of media-ranges.")
 server.")
     (license license:asl2.0)))
 
+(define-public python-mir-eval
+  (package
+    (name "python-mir-eval")
+    (version "0.7")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "mir_eval" version))
+              (sha256
+               (base32
+                "0pp6xdflqhj2czhb2w3kk2c7mx4h2hj0n5rabiaafrbcfsjvmzp1"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-future python-numpy python-scipy
+                             python-six))
+    (native-inputs (list python-matplotlib))
+    (home-page "https://github.com/craffel/mir_eval")
+    (synopsis "Common metrics for common audio/music processing tasks.")
+    (description "This is a Python library for computing common heuristic
+accuracy scores for various music/audio information retrieval/signal
+processing tasks.")
+    (license license:expat)))
+
 (define-public python-pafy
   (package
     (name "python-pafy")