2017-09-13 07:34:39 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, sphinx
|
|
|
|
, numpydoc
|
|
|
|
, isPy3k
|
|
|
|
, stdenv
|
2017-11-02 08:19:58 +00:00
|
|
|
, pytest
|
2017-09-13 07:34:39 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "joblib";
|
|
|
|
name = "${pname}-${version}";
|
2017-10-25 18:04:35 +00:00
|
|
|
version = "0.11";
|
2017-09-13 07:34:39 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 18:04:35 +00:00
|
|
|
sha256 = "7b8fd56df36d9731a83729395ccb85a3b401f62a96255deb1a77220c00ed4085";
|
2017-09-13 07:34:39 +00:00
|
|
|
};
|
|
|
|
|
2017-11-02 08:19:58 +00:00
|
|
|
checkInputs = [ sphinx numpydoc pytest ];
|
2017-09-13 07:34:39 +00: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 07:34:39 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Lightweight pipelining: using Python functions as pipeline jobs";
|
|
|
|
homepage = http://pythonhosted.org/joblib/;
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
2017-11-02 08:19:58 +00:00
|
|
|
}
|