itk-snap source and dependencies
This commit is contained in:
parent
b27bc85d98
commit
2a178c8dc5
3 changed files with 67 additions and 5 deletions
30
itk-snap.nix
Normal file
30
itk-snap.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue