summary refs log tree commit diff
path: root/pkgs/development/python-modules/joblib/default.nix
blob: eedbed250a12b39569ea86cd7aa867b2ada3a80b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ 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;
  };
}