about summary refs log tree commit diff
path: root/pkgs/development/python-modules/numba-scipy/default.nix
blob: c4c37b7ad3333c23be0983106a899f21ed800f3f (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, scipy
, numba
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
}:

buildPythonPackage rec {
  pname = "numba-scipy";
  version = "0.3.1";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-cApTGH5GJZH/RbkRjKhL3injvixD5kvfaS49FjrPA2U=";
  };

  propagatedBuildInputs = [
    scipy
    numba
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pythonRelaxDepsHook
  ];
  pythonRelaxDeps = [
    "scipy"
    "numba"
  ];

  pythonImportsCheck = [
    "numba_scipy"
  ];

  meta = with lib; {
    broken = stdenv.isDarwin;
    description = "Extends Numba to make it aware of SciPy";
    homepage = "https://github.com/numba/numba-scipy";
    changelog = "https://github.com/numba/numba-scipy/blob/master/CHANGE_LOG";
    license = licenses.bsd2;
    maintainers = with maintainers; [ Etjean ];
  };
}