xcalib: fix build

Pulls a patch from upstream which bumps the minimum cmake version.
This commit is contained in:
Ilan Joselevich
2025-10-07 14:06:17 +03:00
parent 5d28df96a7
commit 0ba3fc9003
+9
View File
@@ -8,6 +8,7 @@
libXxf86vm,
libXrandr,
samurai,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -22,6 +23,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-o0pizV4Qrb9wfVKVNH2Ifb9tr7N7iveVHQB39WVCl8w=";
};
patches = [
# bump min cmake to v3.5
(fetchpatch {
url = "https://codeberg.org/OpenICC/xcalib/commit/e8566ead8c043b5f0003c3613b91deab6430eac8.patch";
hash = "sha256-gZc4itfsP5T68ZucdYJWJ4sL11xFaw5ePABsmEYHxrU=";
})
];
nativeBuildInputs = [
cmake
ninja