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

30 lines
615 B
Nix
Raw Normal View History

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