pythonPackages.librosa: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-16 11:45:20 -04:00
committed by Frederik Rietdijk
parent 89575266d3
commit 1786765934
2 changed files with 34 additions and 21 deletions

View File

@@ -0,0 +1,33 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, joblib
, matplotlib
, six
, scikitlearn
, decorator
, audioread
, resampy
}:
buildPythonPackage rec {
pname = "librosa";
version = "0.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "209626c53556ca3922e52d2fae767bf5b398948c867fcc8898f948695dacb247";
};
propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy ];
# No tests
doCheck = false;
meta = with stdenv.lib; {
description = "Python module for audio and music processing";
homepage = http://librosa.github.io/;
license = licenses.isc;
};
}