Unverified Commit 8cecc7ef authored by Janik's avatar Janik Committed by GitHub
Browse files

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

parents e5d09551 d4e59e7f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+39 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };