20 buildPythonPackage rec {
21 pname = "intensity-normalization";
23 format = "setuptools";
25 disabled = pythonOlder "3.6";
28 pname = "intensity_normalization";
30 hash = "sha256-s/trDIRoqLFj3NO+iv3E+AEB4grBAHDlEL6+TCdsgmg=";
34 substituteInPlace setup.cfg --replace "!=3.10.*," "" --replace "!=3.11.*" ""
35 substituteInPlace setup.cfg --replace "pytest-runner" ""
38 nativeBuildInputs = [ pythonRelaxDepsHook ];
39 pythonRelaxDeps = [ "nibabel" ];
41 propagatedBuildInputs = [
58 pytestFlagsArray = [ "tests" ];
60 pythonImportsCheck = [
61 "intensity_normalization"
62 "intensity_normalization.normalize"
63 "intensity_normalization.plot"
64 "intensity_normalization.util"
69 homepage = "https://github.com/jcreinhold/intensity-normalization";
70 description = "MRI intensity normalization tools";
71 maintainers = with maintainers; [ bcdarwin ];
72 license = licenses.asl20;