mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
34 lines
669 B
Nix
34 lines
669 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, sphinx
|
|
, numpydoc
|
|
, isPy3k
|
|
, stdenv
|
|
, pytest
|
|
}:
|
|
|
|
|
|
buildPythonPackage rec {
|
|
pname = "joblib";
|
|
name = "${pname}-${version}";
|
|
version = "0.11";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7b8fd56df36d9731a83729395ccb85a3b401f62a96255deb1a77220c00ed4085";
|
|
};
|
|
|
|
checkInputs = [ sphinx numpydoc pytest ];
|
|
|
|
checkPhase = ''
|
|
py.test -k 'not test_disk_used and not test_nested_parallel_warnings' joblib/test
|
|
'';
|
|
|
|
meta = {
|
|
description = "Lightweight pipelining: using Python functions as pipeline jobs";
|
|
homepage = http://pythonhosted.org/joblib/;
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|