nixpkgs/pkgs/development/python-modules/joblib/default.nix

30 lines
615 B
Nix
Raw Normal View History

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