diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d70f29745d70..47d418ba77bc 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/development/python-modules/mir_eval/default.nix b/pkgs/development/python-modules/mir_eval/default.nix new file mode 100644 index 000000000000..eaf4a9e4f535 --- /dev/null +++ b/pkgs/development/python-modules/mir_eval/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index eade2a479705..54d95ea5beb9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };