fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
39 lines
691 B
Nix
39 lines
691 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
future,
|
|
six,
|
|
numpy,
|
|
scipy,
|
|
matplotlib,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mir-eval";
|
|
version = "0.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "mir_eval";
|
|
inherit version;
|
|
hash = "sha256-4f66pXZsZadUXCoXCyQUkPR6mJhzcLHgZ0JCTF3r5l4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|