summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mir-eval/default.nix
blob: 603fba5879bf6981c118d1387dfb42411f88c61d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchPypi,
  future,
  six,
  numpy,
  scipy,
  matplotlib,
}:

buildPythonPackage rec {
  pname = "mir-eval";
  version = "0.8.2";
  format = "setuptools";

  src = fetchPypi {
    pname = "mir_eval";
    inherit version;
    hash = "sha256-FBo+EZMnaIn8MukRVH5z3LPoKe6M/qYPe7zWM8B5JWk=";
  };

  propagatedBuildInputs = [
    future
    six
    numpy
    scipy
    matplotlib
  ];

  pythonImportsCheck = [ "mir_eval" ];

  meta = with lib; {
    description = "Common metrics for common audio/music processing tasks";
    homepage = "https://github.com/craffel/mir_eval";
    license = licenses.mit;
    maintainers = with maintainers; [ carlthome ];
  };
}