mirtk: remove itk_5_2 dependency (#429914)

This commit is contained in:
Aleksana
2025-08-01 10:58:15 +08:00
committed by GitHub
2 changed files with 9 additions and 15 deletions
@@ -8,7 +8,6 @@
eigen,
libGLU,
fltk,
itk,
vtk,
zlib,
tbb,
@@ -28,18 +27,16 @@ stdenv.mkDerivation {
cmakeFlags = [
"-DWITH_VTK=ON"
"-DBUILD_ALL_MODULES=ON"
"-DMODULE_Deformable=ON"
"-DMODULE_Mapping=ON"
"-DMODULE_Scripting=ON"
"-DMODULE_Viewer=ON"
"-DMODULE_DrawEM=OFF"
"-DWITH_TBB=ON"
"-DWITH_ITK=ON"
"-DWITH_GIFTICLIB=ON"
"-DWITH_NIFTILIB=ON"
];
# tries to download data during configuration
postPatch = ''
substituteInPlace Packages/DrawEM/CMakeLists.txt --replace "include(Atlases.cmake)" ""
'';
# tests don't seem to be maintained and gtest fails to link with BUILD_TESTING=ON;
# unclear if specific to Nixpkgs
doCheck = false;
@@ -55,7 +52,6 @@ stdenv.mkDerivation {
boost186
eigen
fltk
itk
libGLU
python3
tbb
@@ -63,12 +59,12 @@ stdenv.mkDerivation {
zlib
];
meta = with lib; {
meta = {
homepage = "https://github.com/BioMedIA/MIRTK";
description = "Medical image registration library and tools";
mainProgram = "mirtk";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.linux;
license = licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
platforms = lib.platforms.linux;
license = lib.licenses.asl20;
};
}
-2
View File
@@ -15188,8 +15188,6 @@ with pkgs;
inherit (llvmPackages) openmp;
};
mirtk = callPackage ../development/libraries/science/biology/mirtk { itk = itk_5_2; };
nest = callPackage ../applications/science/biology/nest { };
nest-mpi = callPackage ../applications/science/biology/nest { withMpi = true; };