2017-09-13 08:34:39 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2018-08-08 20:30:26 +01:00
|
|
|
, fetchFromGitHub
|
2017-09-13 08:34:39 +01:00
|
|
|
, sphinx
|
|
|
|
, numpydoc
|
2017-11-02 08:19:58 +00:00
|
|
|
, pytest
|
2018-08-08 20:30:26 +01:00
|
|
|
, python-lz4
|
2017-09-13 08:34:39 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "joblib";
|
2018-08-08 20:30:26 +01:00
|
|
|
version = "0.12.4";
|
|
|
|
|
|
|
|
# get full repository inorder to run tests
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joblib";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "06zszgp7wpa4jr554wkk6kkigp4k9n5ad5h08i6w9qih963rlimb";
|
2017-09-13 08:34:39 +01:00
|
|
|
};
|
|
|
|
|
2017-11-02 08:19:58 +00:00
|
|
|
checkInputs = [ sphinx numpydoc pytest ];
|
2018-08-08 20:30:26 +01:00
|
|
|
propagatedBuildInputs = [ python-lz4 ];
|
2017-09-13 08:34:39 +01:00
|
|
|
|
2017-11-02 08:19:58 +00:00
|
|
|
checkPhase = ''
|
2018-08-08 20:30:26 +01:00
|
|
|
py.test joblib
|
2017-09-13 08:34:39 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Lightweight pipelining: using Python functions as pipeline jobs";
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://pythonhosted.org/joblib/;
|
2017-09-13 08:34:39 +01:00
|
|
|
license = lib.licenses.bsd3;
|
2018-08-08 20:30:26 +01:00
|
|
|
maintainers = with lib.maintainers; [ costrouc ];
|
2017-09-13 08:34:39 +01:00
|
|
|
};
|
2017-11-02 08:19:58 +00:00
|
|
|
}
|