at 22.05-pre 1.1 kB view raw
1{ lib 2, pythonOlder 3, buildPythonPackage 4, fetchPypi 5, stdenv 6, numpydoc 7, pytestCheckHook 8, lz4 9, setuptools 10, sphinx 11}: 12 13 14buildPythonPackage rec { 15 pname = "joblib"; 16 version = "1.1.0"; 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35"; 22 }; 23 24 checkInputs = [ sphinx numpydoc pytestCheckHook ]; 25 propagatedBuildInputs = [ 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}