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";
|
2020-05-09 11:01:51 +01:00
|
|
|
version = "0.7.2";
|
2018-10-16 16:45:20 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:51 +01:00
|
|
|
sha256 = "656bbda80e98e6330db1ead79cd084b13a762284834d7603fcf7cf7c0dc65f3c";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://librosa.github.io/";
|
2018-10-16 16:45:20 +01:00
|
|
|
license = licenses.isc;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|