Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchPypi, hatchling, nibabel, numpy, scikit-fuzzy, scipy, typer, # nativeCheckInputs pytestCheckHook, pytest-cov-stub, hypothesis,}:
buildPythonPackage (finalAttrs: { pname = "intensity-normalization"; version = "4.0.0"; pyproject = true;
src = fetchPypi { pname = "intensity_normalization"; inherit (finalAttrs) version; hash = "sha256-aKOyW5fxNksHTQurrClJGowuq4coDTID2m9KAQI7ZIQ="; };
build-system = [ hatchling ];
dependencies = [ nibabel numpy scikit-fuzzy scipy typer ];
nativeCheckInputs = [ hypothesis pytestCheckHook pytest-cov-stub ]; enabledTestPaths = [ "tests" ];
pythonImportsCheck = [ "intensity_normalization" ];
meta = { homepage = "https://github.com/jcreinhold/intensity-normalization"; description = "MRI intensity normalization tools"; changelog = "https://github.com/jcreinhold/intensity-normalization/releases/tag/${finalAttrs.version}"; maintainers = with lib.maintainers; [ bcdarwin ]; license = lib.licenses.asl20; mainProgram = "intensity-normalize"; };})