2018-10-16 16:45:20 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, joblib
|
|
|
|
, matplotlib
|
|
|
|
, six
|
|
|
|
, scikitlearn
|
|
|
|
, decorator
|
|
|
|
, audioread
|
|
|
|
, resampy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "librosa";
|
2019-02-14 07:37:19 +00:00
|
|
|
version = "0.6.3";
|
2018-10-16 16:45:20 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:19 +00:00
|
|
|
sha256 = "b332225ac29bfae1ba386deca2b6566271576de3ab17617ad0a71892c799b118";
|
2018-10-16 16:45:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|