@@ -1,29 +1,36 @@
11{ lib
22, buildPythonPackage
3−, fetchPypi
3+, fetchFromGitHub
44, sphinx
55, numpydoc
66, pytest
7+, python-lz4
78}:
89
910
1011buildPythonPackage rec {
1112 pname = "joblib";
12− version = "0.12.1";
13− src = fetchPypi {
14− inherit pname version;
15− sha256 = "68e6128e4734196616a39e2d48830ec7d61551c7f5748849e4c91478d2444524";
13+ version = "0.12.4";
14+
15+ # get full repository inorder to run tests
16+ src = fetchFromGitHub {
17+ owner = "joblib";
18+ repo = pname;
19+ rev = version;
20+ sha256 = "06zszgp7wpa4jr554wkk6kkigp4k9n5ad5h08i6w9qih963rlimb";
1621 };
1722
1823 checkInputs = [ sphinx numpydoc pytest ];
24+ propagatedBuildInputs = [ python-lz4 ];
1925
2026 checkPhase = ''
21− py.test -k 'not test_disk_used and not test_nested_parallel_warnings' joblib/test
27+ py.test joblib
2228 '';
2329
2430 meta = {
2531 description = "Lightweight pipelining: using Python functions as pipeline jobs";
2632 homepage = https://pythonhosted.org/joblib/;
2733 license = lib.licenses.bsd3;
34+ maintainers = with lib.maintainers; [ costrouc ];
2835 };
2936}