d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
50 lines
929 B
Nix
50 lines
929 B
Nix
{ 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 ];
|
|
};
|
|
}
|