1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
nixpkgs/pkgs/development/python-modules/joblib/default.nix

30 lines
615 B
Nix
Raw Normal View History

2017-09-13 08:34:39 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, sphinx
, numpydoc
, pytest
2017-09-13 08:34:39 +01:00
}:
buildPythonPackage rec {
pname = "joblib";
2018-07-22 11:11:38 +01:00
version = "0.12.1";
2017-09-13 08:34:39 +01:00
src = fetchPypi {
inherit pname version;
2018-07-22 11:11:38 +01:00
sha256 = "68e6128e4734196616a39e2d48830ec7d61551c7f5748849e4c91478d2444524";
2017-09-13 08:34:39 +01:00
};
checkInputs = [ sphinx numpydoc pytest ];
2017-09-13 08:34:39 +01:00
checkPhase = ''
py.test -k 'not test_disk_used and not test_nested_parallel_warnings' joblib/test
2017-09-13 08:34:39 +01:00
'';
meta = {
description = "Lightweight pipelining: using Python functions as pipeline jobs";
2018-06-27 21:12:57 +01:00
homepage = https://pythonhosted.org/joblib/;
2017-09-13 08:34:39 +01:00
license = lib.licenses.bsd3;
};
}