unqlite: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-20 09:44:03 -03:00
parent fac5e90ad9
commit 00c7cdc8fc
@@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
homepage = "https://unqlite.org/";
description = "Self-contained, serverless, zero-conf, transactional NoSQL DB library";