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
|
|
@ -0,0 +1,64 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, matplotlib
|
||||
, nibabel
|
||||
, numpy
|
||||
, scikit-fuzzy
|
||||
, scikitimage
|
||||
, scikit-learn
|
||||
, scipy
|
||||
, statsmodels
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "intensity-normalization";
|
||||
version = "2.2.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "intensity_normalization";
|
||||
inherit version;
|
||||
sha256 = "sha256-Yjd4hXmbT87xNKSqc6zkKNisOVhQzQAUZI5wBiI/UBk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
matplotlib
|
||||
nibabel
|
||||
numpy
|
||||
scikit-fuzzy
|
||||
scikitimage
|
||||
scikit-learn
|
||||
scipy
|
||||
statsmodels
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "pytest-runner" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"intensity_normalization"
|
||||
"intensity_normalization.normalize"
|
||||
"intensity_normalization.plot"
|
||||
"intensity_normalization.util"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jcreinhold/intensity-normalization";
|
||||
description = "MRI intensity normalization tools";
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
license = licenses.asl20;
|
||||
# depends on simpleitk python wrapper which is not packaged yet
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue