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