2017-09-13 08:34:39 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, sphinx
|
|
|
|
, numpydoc
|
2017-11-02 08:19:58 +00:00
|
|
|
, 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
|
|
|
};
|
|
|
|
|
2017-11-02 08:19:58 +00:00
|
|
|
checkInputs = [ sphinx numpydoc pytest ];
|
2017-09-13 08:34:39 +01:00
|
|
|
|
2017-11-02 08:19:58 +00: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;
|
|
|
|
};
|
2017-11-02 08:19:58 +00:00
|
|
|
}
|