biblesync: fix cmake-4 build

Without the change the build fails as
https://hydra.nixos.org/build/310527048:

    CMake Error at CMakeLists.txt:11 (CMAKE_MINIMUM_REQUIRED):
      Compatibility with CMake < 3.5 has been removed from CMake.

THe change pulls upstream fix as is.
This commit is contained in:
Sergei Trofimovich
2025-10-31 21:10:56 +00:00
parent 92a6403feb
commit ad01a42c44

View File

@@ -2,6 +2,7 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
pkg-config, pkg-config,
cmake, cmake,
libuuid, libuuid,
@@ -19,6 +20,15 @@ stdenv.mkDerivation rec {
sha256 = "0prmd12jq2cjdhsph5v89y38j7hhd51dr3r1hivgkhczr3m5hf4s"; sha256 = "0prmd12jq2cjdhsph5v89y38j7hhd51dr3r1hivgkhczr3m5hf4s";
}; };
patches = [
# Fix cmake-4 support
(fetchpatch {
name = "cmake-4.patch";
url = "https://github.com/karlkleinpaste/biblesync/commit/4b00f9fd3d0c858947eee18206ef44f9f6bd2283.patch?full_index=1";
hash = "sha256-CVYhYBDneLN3Ogvye01EQCc9zxjSwaKBzk1fBaKINug=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
cmake cmake