uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
50
pkgs/development/python-modules/numba-scipy/default.nix
Normal file
50
pkgs/development/python-modules/numba-scipy/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, scipy
|
||||
, numba
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numba-scipy";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-qJeoWiG1LdtFB9cME1d8xVaC0BXGDJEYjCOEdHvSkmQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
scipy
|
||||
numba
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/numba/numba-scipy/pull/76
|
||||
substituteInPlace setup.py \
|
||||
--replace "scipy>=0.16,<=1.6.2" "scipy>=0.16"
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue