pythonPackages.librosa: fix required package pooch
This commit is contained in:
parent
eb8b3b4632
commit
9317aa7794
1 changed files with 8 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
||||||
, audioread
|
, audioread
|
||||||
, resampy
|
, resampy
|
||||||
, soundfile
|
, soundfile
|
||||||
|
, pooch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -20,15 +21,21 @@ buildPythonPackage rec {
|
||||||
sha256 = "af0b9f2ed4bbf6aecbc448a4cd27c16453c397cb6bef0f0cfba0e63afea2b839";
|
sha256 = "af0b9f2ed4bbf6aecbc448a4cd27c16453c397cb6bef0f0cfba0e63afea2b839";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile ];
|
propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile pooch ];
|
||||||
|
|
||||||
# No tests
|
# No tests
|
||||||
|
# 1. Internet connection is required
|
||||||
|
# 2. Got error "module 'librosa' has no attribute 'version'"
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
# check that import works, this allows to capture errors like https://github.com/librosa/librosa/issues/1160
|
||||||
|
pythonImportsCheck = [ "librosa" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Python module for audio and music processing";
|
description = "Python module for audio and music processing";
|
||||||
homepage = "http://librosa.github.io/";
|
homepage = "http://librosa.github.io/";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
|
maintainers = with maintainers; [ GuillaumeDesforges ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue