diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a062cbcb36a..8f312412878 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9326,15 +9326,26 @@ in { }; joblib = buildPythonPackage rec { - name = "joblib-${version}"; - version = "0.9.4"; + pname = "joblib"; + name = "${pname}-${version}"; + version = "0.10.3"; src = pkgs.fetchurl { - url = "mirror://pypi/j/joblib/${name}.tar.gz"; - sha256 = "e5faacf0da7b3035dbca9d56210962b86564aafca71a25f4ea376a405455cd60"; + url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; + sha256 = "29b2965a9efbc90a5fe66a389ae35ac5b5b0c1feabfc7cab7fd5d19f429a071d"; }; - buildInputs = with self; [ nose ]; + buildInputs = with self; [ nose sphinx numpydoc ]; + # Failing test on Python 3.x + postPatch = '''' + optionalString isPy3k '' + sed -i -e '70,84d' joblib/test/test_format_stack.py + ''; + + meta = { + description = "Lightweight pipelining: using Python functions as pipeline jobs"; + homepage = http://pythonhosted.org/joblib/; + license = licenses.bsd3; + }; }; samplerate = buildPythonPackage rec {