itk-snap source and dependencies

This commit is contained in:
EsVagy42 2026-02-01 14:02:33 +01:00
parent b27bc85d98
commit 2a178c8dc5
3 changed files with 67 additions and 5 deletions

30
itk-snap.nix Normal file
View file

@ -0,0 +1,30 @@
{
stdenv,
fetchFromGitHub,
cmake,
itk,
vtk,
qt6,
}:
stdenv.mkDerivation {
pname = "itk-snap";
version = "v4.2.2";
src = fetchFromGitHub {
owner = "pyushkevich";
repo = "itksnap";
rev = "v4.2.2";
sha256 = "sha256-9aH6BVu7osDbXdUhgiMXOTQnvq96F5+f6gTCU975ZNw=";
};
nativeBuildInputs = [
cmake
qt6.wrapQtAppsHook
];
buildInputs = [
itk
vtk
qt6.qtbase
];
}