2017-09-13 09:34:39 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, sphinx
|
|
|
|
, numpydoc
|
|
|
|
, isPy3k
|
|
|
|
, stdenv
|
2017-11-02 09:19:58 +01:00
|
|
|
, pytest
|
2017-09-13 09:34:39 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "joblib";
|
|
|
|
name = "${pname}-${version}";
|
2017-10-25 20:04:35 +02:00
|
|
|
version = "0.11";
|
2017-09-13 09:34:39 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 20:04:35 +02:00
|
|
|
sha256 = "7b8fd56df36d9731a83729395ccb85a3b401f62a96255deb1a77220c00ed4085";
|
2017-09-13 09:34:39 +02:00
|
|
|
};
|
|
|
|
|
2017-11-02 09:19:58 +01:00
|
|
|
checkInputs = [ sphinx numpydoc pytest ];
|
2017-09-13 09:34:39 +02:00
|
|
|
|
2017-11-02 09:19:58 +01: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";
|
|
|
|
homepage = http://pythonhosted.org/joblib/;
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
2017-11-02 09:19:58 +01:00
|
|
|
}
|