Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 41 lines 1.1 kB view raw
1{ lib 2, pythonOlder 3, buildPythonPackage 4, fetchPypi 5, stdenv 6, numpydoc 7, pytestCheckHook 8, python-lz4 9, setuptools 10, sphinx 11}: 12 13 14buildPythonPackage rec { 15 pname = "joblib"; 16 version = "1.0.1"; 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "9c17567692206d2f3fb9ecf5e991084254fe631665c450b443761c4186a613f7"; 22 }; 23 24 checkInputs = [ sphinx numpydoc pytestCheckHook ]; 25 propagatedBuildInputs = [ python-lz4 setuptools ]; 26 27 pytestFlagsArray = [ "joblib/test" ]; 28 disabledTests = [ 29 "test_disk_used" # test_disk_used is broken: https://github.com/joblib/joblib/issues/57 30 "test_parallel_call_cached_function_defined_in_jupyter" # jupyter not available during tests 31 ] ++ lib.optionals stdenv.isDarwin [ 32 "test_dispatch_multiprocessing" # test_dispatch_multiprocessing is broken only on Darwin. 33 ]; 34 35 meta = with lib; { 36 description = "Lightweight pipelining: using Python functions as pipeline jobs"; 37 homepage = "https://joblib.readthedocs.io/"; 38 license = licenses.bsd3; 39 maintainers = with maintainers; [ costrouc ]; 40 }; 41}