minc_widgets: CMake 4.x compatibility

This commit is contained in:
Ben Darwin
2025-10-19 23:31:26 -04:00
parent da7a28f476
commit 490b6fc73c
+13 -4
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
makeWrapper,
perlPackages,
@@ -22,6 +23,14 @@ stdenv.mkDerivation {
sha256 = "1b9g6lf37wpp211ikaji4rf74rl9xcmrlyqcw1zq3z12ji9y33bm";
};
patches = [
(fetchpatch {
name = "cmake4-fix.patch";
url = "https://github.com/BIC-MNI/minc-widgets/commit/9f5bc1996d2f9b4702efdb010834e2c7f1e3fbf1.patch";
hash = "sha256-qqMKbxQS+HTRQaOP2DH/m8Z3DqoCMGLFp1AEKaQ6l5s=";
})
];
nativeBuildInputs = [
cmake
makeWrapper
@@ -50,11 +59,11 @@ stdenv.mkDerivation {
done
'';
meta = with lib; {
meta = {
homepage = "https://github.com/BIC-MNI/minc-widgets";
description = "Collection of Perl and shell scripts for processing MINC files";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.free;
maintainers = with lib.maintainers; [ bcdarwin ];
platforms = lib.platforms.unix;
license = lib.licenses.free;
};
}