1{ lib
2, buildPythonPackage
3, fetchPypi
4, future
5, six
6, numpy
7, scipy
8, matplotlib
9}:
10
11buildPythonPackage rec {
12 pname = "mir_eval";
13 version = "0.7";
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-4f66pXZsZadUXCoXCyQUkPR6mJhzcLHgZ0JCTF3r5l4=";
19 };
20
21 propagatedBuildInputs = [
22 future
23 six
24 numpy
25 scipy
26 matplotlib
27 ];
28
29 pythonImportsCheck = [
30 "mir_eval"
31 ];
32
33 meta = with lib; {
34 description = "Common metrics for common audio/music processing tasks";
35 homepage = "https://github.com/craffel/mir_eval";
36 license = licenses.mit;
37 maintainers = with maintainers; [ carlthome ];
38 };
39}