CuboCore.libcprime: fix against cmake-4

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

  CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
    Compatibility with CMake < 3.5 has been removed from CMake.
This commit is contained in:
Sergei Trofimovich
2025-10-11 12:58:16 +01:00
parent e18d8ec6fa
commit 7aa148c41d
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitLab,
fetchpatch,
libnotify,
cmake,
ninja,
@@ -21,6 +22,13 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
./0001-fix-application-dirs.patch
# cmake-4 support
(fetchpatch {
name = "cmake-4.patch";
url = "https://gitlab.com/cubocore/libcprime/-/commit/505931e9634d1b55ea97bdaa0f68dcd51faaea39.patch";
hash = "sha256-toWG78tW6qOETTMb63/WtSyIiGkJ00RlPyGTqrWPnLY=";
})
];
nativeBuildInputs = [