1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 scipy,
6 numba,
7 pytestCheckHook,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "numba-scipy";
13 version = "0.4.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.6";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-RDZF1mNcZnrcOzjQpjbZq8yXHnjeLAeAjYmvzXvFhEQ=";
21 };
22
23 propagatedBuildInputs = [
24 scipy
25 numba
26 ];
27
28 nativeCheckInputs = [
29 pytestCheckHook
30 ];
31 pythonRelaxDeps = [
32 "scipy"
33 "numba"
34 ];
35
36 pythonImportsCheck = [ "numba_scipy" ];
37
38 meta = with lib; {
39 description = "Extends Numba to make it aware of SciPy";
40 homepage = "https://github.com/numba/numba-scipy";
41 changelog = "https://github.com/numba/numba-scipy/blob/master/CHANGE_LOG";
42 license = licenses.bsd2;
43 maintainers = with maintainers; [ Etjean ];
44 };
45}