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