3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/joblib/default.nix

34 lines
669 B
Nix
Raw Normal View History

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