Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 70 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ lib, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook, matplotlib, nibabel, numpy, pydicom, pymedio, scikit-fuzzy, scikit-image, scikit-learn, scipy, simpleitk, statsmodels,}:
buildPythonPackage rec { pname = "intensity-normalization"; version = "2.2.4"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { pname = "intensity_normalization"; inherit version; hash = "sha256-s/trDIRoqLFj3NO+iv3E+AEB4grBAHDlEL6+TCdsgmg="; };
postPatch = '' substituteInPlace setup.cfg --replace "!=3.10.*," "" --replace "!=3.11.*" "" substituteInPlace setup.cfg --replace "pytest-runner" "" '';
pythonRelaxDeps = [ "nibabel" ];
propagatedBuildInputs = [ matplotlib nibabel numpy pydicom pymedio scikit-fuzzy scikit-image scikit-learn scipy simpleitk statsmodels ];
nativeCheckInputs = [ pytestCheckHook ]; pytestFlagsArray = [ "tests" ];
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; };}