nixpkgs/pkgs/development/python-modules/joblib/default.nix
2018-06-27 22:12:57 +02:00

34 lines
670 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 = https://pythonhosted.org/joblib/;
license = lib.licenses.bsd3;
};
}