From 72385a35f87a998d3ffafd6673e832455a25a22a Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 27 Dec 2016 16:23:40 +0100 Subject: [PATCH] pythonPackages.librosa: 0.4.0 -> 0.4.3 --- pkgs/top-level/python-packages.nix | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cf0b2c8a5117..a062cbcb36a2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9304,15 +9304,25 @@ in { librosa = buildPythonPackage rec { - name = "librosa-${version}"; - version = "0.4.0"; + pname = "librosa"; + name = "${pname}-${version}"; + version = "0.4.3"; src = pkgs.fetchurl { - url = "mirror://pypi/l/librosa/librosa-0.4.0.tar.gz"; - sha256 = "cc11dcc41f51c08e442292e8a2fc7d7ee77e0d47ff771259eb63f57fcee6f6e7"; + url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; + sha256 = "209626c53556ca3922e52d2fae767bf5b398948c867fcc8898f948695dacb247"; }; - propagatedBuildInputs = with self; - [ joblib matplotlib six scikitlearn decorator audioread samplerate ]; + propagatedBuildInputs = with self; [ joblib matplotlib six scikitlearn + decorator audioread resampy ]; + + # No tests + doCheck = false; + + meta = { + description = "Python module for audio and music processing"; + homepage = http://librosa.github.io/; + license = licenses.isc; + }; }; joblib = buildPythonPackage rec {