Files
nixpkgs/pkgs/by-name/el/elastix/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
851 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
itk,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "elastix";
version = "5.2.0";
src = fetchFromGitHub {
owner = "SuperElastix";
repo = "elastix";
tag = finalAttrs.version;
hash = "sha256-edUMj8sjku8EVYaktteIDS+ouaN3kg+CXQCeSWKlLDI=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ itk ];
doCheck = !stdenv.hostPlatform.isDarwin; # usual dynamic linker issues
meta = with lib; {
homepage = "https://elastix.dev";
description = "Image registration toolkit based on ITK";
changelog = "https://github.com/SuperElastix/elastix/releases/tag/${finalAttrs.version}";
maintainers = with maintainers; [ bcdarwin ];
mainProgram = "elastix";
platforms = platforms.x86_64; # libitkpng linker issues with ITK 5.1
license = licenses.asl20;
};
})