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-08-13 08:25:57 +01:00
version = "0.12.2";
2017-09-13 08:34:39 +01:00
src = fetchPypi {
inherit pname version;
2018-08-13 08:25:57 +01:00
sha256 = "e9f04885cf11704669f3a731ea6ac00bbc7dea16137aa4394ef7c272cdb9d008";
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;
};
}