2018-10-16 16:45:20 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, joblib
|
|
|
|
, matplotlib
|
|
|
|
, six
|
|
|
|
, scikitlearn
|
|
|
|
, decorator
|
|
|
|
, audioread
|
|
|
|
, resampy
|
2019-11-13 10:55:48 +00:00
|
|
|
, soundfile
|
2018-10-16 16:45:20 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "librosa";
|
2019-10-24 07:47:37 +01:00
|
|
|
version = "0.7.1";
|
2018-10-16 16:45:20 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:37 +01:00
|
|
|
sha256 = "cca58a2d9a47e35be63a3ce36482d241453bfe9b14bde2005430f969bd7d013a";
|
2018-10-16 16:45:20 +01:00
|
|
|
};
|
|
|
|
|
2019-11-13 10:55:48 +00:00
|
|
|
propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile ];
|
2018-10-16 16:45:20 +01:00
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python module for audio and music processing";
|
|
|
|
homepage = http://librosa.github.io/;
|
|
|
|
license = licenses.isc;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|