liblaxjson: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-21 17:37:05 -03:00
parent 0b3f6f538f
commit 4c86df0733
+6
View File
@@ -18,11 +18,17 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
description = "Library for parsing JSON config files";
homepage = "https://github.com/andrewrk/liblaxjson";
license = licenses.mit;
platforms = platforms.unix;
broken = stdenv.hostPlatform.isDarwin;
maintainers = [ maintainers.andrewrk ];
};
}