depot/third_party/nixpkgs/pkgs/development/python-modules/numba-scipy/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

50 lines
929 B
Nix

{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, scipy
, numba
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "numba-scipy";
version = "0.4.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-RDZF1mNcZnrcOzjQpjbZq8yXHnjeLAeAjYmvzXvFhEQ=";
};
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 ];
};
}