Merge pull request #231901 from carlthome/add-mir-eval

This commit is contained in:
Janik 2023-06-27 00:40:44 +02:00 committed by GitHub
commit 8cecc7ef2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 0 deletions

View File

@ -2622,6 +2622,12 @@
githubId = 82591;
name = "Carl Sverre";
};
carlthome = {
name = "Carl Thomé";
email = "carlthome@gmail.com";
github = "carlthome";
githubId = 1595907;
};
carpinchomug = {
email = "aki.suda@protonmail.com";
github = "carpinchomug";

View 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 ];
};
}

View File

@ -6318,6 +6318,8 @@ self: super: with self; {
mip = callPackage ../development/python-modules/mip { };
mir_eval = callPackage ../development/python-modules/mir_eval { };
misaka = callPackage ../development/python-modules/misaka { };
misoc = callPackage ../development/python-modules/misoc { };