Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 future, 6 six, 7 numpy, 8 scipy, 9 matplotlib, 10}: 11 12buildPythonPackage rec { 13 pname = "mir-eval"; 14 version = "0.7"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 pname = "mir_eval"; 19 inherit version; 20 hash = "sha256-4f66pXZsZadUXCoXCyQUkPR6mJhzcLHgZ0JCTF3r5l4="; 21 }; 22 23 propagatedBuildInputs = [ 24 future 25 six 26 numpy 27 scipy 28 matplotlib 29 ]; 30 31 pythonImportsCheck = [ "mir_eval" ]; 32 33 meta = with lib; { 34 description = "Common metrics for common audio/music processing tasks"; 35 homepage = "https://github.com/craffel/mir_eval"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ carlthome ]; 38 }; 39}