3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/joblib/default.nix
Chris Ostrouchov 05890dda3d
pythonPackages.joblib: 0.12.1 -> 0.12.2
In order to get all the tests passing the Github repository was
downloaded instead of from pypi so that the `conftest.py` is
available.

In addition to updating the version:

  - compatible with 2.7, 3+ now
  - all tests are running and passing
2018-09-05 23:46:28 -04:00

37 lines
735 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, sphinx
, numpydoc
, pytest
, python-lz4
}:
buildPythonPackage rec {
pname = "joblib";
version = "0.12.4";
# get full repository inorder to run tests
src = fetchFromGitHub {
owner = "joblib";
repo = pname;
rev = version;
sha256 = "06zszgp7wpa4jr554wkk6kkigp4k9n5ad5h08i6w9qih963rlimb";
};
checkInputs = [ sphinx numpydoc pytest ];
propagatedBuildInputs = [ python-lz4 ];
checkPhase = ''
py.test joblib
'';
meta = {
description = "Lightweight pipelining: using Python functions as pipeline jobs";
homepage = https://pythonhosted.org/joblib/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ costrouc ];
};
}