Merge pull request #231901 from carlthome/add-mir-eval
This commit is contained in:
commit
8cecc7ef2f
|
@ -2622,6 +2622,12 @@
|
||||||
githubId = 82591;
|
githubId = 82591;
|
||||||
name = "Carl Sverre";
|
name = "Carl Sverre";
|
||||||
};
|
};
|
||||||
|
carlthome = {
|
||||||
|
name = "Carl Thomé";
|
||||||
|
email = "carlthome@gmail.com";
|
||||||
|
github = "carlthome";
|
||||||
|
githubId = 1595907;
|
||||||
|
};
|
||||||
carpinchomug = {
|
carpinchomug = {
|
||||||
email = "aki.suda@protonmail.com";
|
email = "aki.suda@protonmail.com";
|
||||||
github = "carpinchomug";
|
github = "carpinchomug";
|
||||||
|
|
39
pkgs/development/python-modules/mir_eval/default.nix
Normal file
39
pkgs/development/python-modules/mir_eval/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, future
|
||||||
|
, six
|
||||||
|
, numpy
|
||||||
|
, scipy
|
||||||
|
, matplotlib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "mir_eval";
|
||||||
|
version = "0.7";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6318,6 +6318,8 @@ self: super: with self; {
|
||||||
|
|
||||||
mip = callPackage ../development/python-modules/mip { };
|
mip = callPackage ../development/python-modules/mip { };
|
||||||
|
|
||||||
|
mir_eval = callPackage ../development/python-modules/mir_eval { };
|
||||||
|
|
||||||
misaka = callPackage ../development/python-modules/misaka { };
|
misaka = callPackage ../development/python-modules/misaka { };
|
||||||
|
|
||||||
misoc = callPackage ../development/python-modules/misoc { };
|
misoc = callPackage ../development/python-modules/misoc { };
|
||||||
|
|
Loading…
Reference in a new issue