aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/librosa/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/librosa/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/librosa/default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/librosa/default.nix b/nixpkgs/pkgs/development/python-modules/librosa/default.nix
index ade83d6721a..0fc5d857fb8 100644
--- a/nixpkgs/pkgs/development/python-modules/librosa/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/librosa/default.nix
@@ -9,26 +9,33 @@
, audioread
, resampy
, soundfile
+, pooch
}:
buildPythonPackage rec {
pname = "librosa";
- version = "0.7.2";
+ version = "0.8.0";
src = fetchPypi {
inherit pname version;
- sha256 = "656bbda80e98e6330db1ead79cd084b13a762284834d7603fcf7cf7c0dc65f3c";
+ sha256 = "af0b9f2ed4bbf6aecbc448a4cd27c16453c397cb6bef0f0cfba0e63afea2b839";
};
- propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile ];
+ propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile pooch ];
# No tests
+ # 1. Internet connection is required
+ # 2. Got error "module 'librosa' has no attribute 'version'"
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; {
description = "Python module for audio and music processing";
homepage = "http://librosa.github.io/";
license = licenses.isc;
+ maintainers = with maintainers; [ GuillaumeDesforges ];
};
}