python3Packages.intensity-normalization: add format
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "intensity-normalization";
|
||||
version = "2.1.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
@@ -23,17 +25,6 @@ buildPythonPackage rec {
|
||||
sha256 = "e7b46039311bcbba40224d85eb07eefe1488bd8a6faa893a180e15e65c48b7f5";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg --replace "pytest-runner" ""
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [
|
||||
"intensity_normalization"
|
||||
"intensity_normalization.normalize"
|
||||
"intensity_normalization.plot"
|
||||
"intensity_normalization.util"
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
matplotlib
|
||||
nibabel
|
||||
@@ -45,6 +36,22 @@ buildPythonPackage rec {
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user