astromenace: backport upstream fix for cmake-4

Without the change the build fails on `master` as
https://hydra.nixos.org/build/308956481:

    CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
      Compatibility with CMake < 3.5 has been removed from CMake.
This commit is contained in:
Sergei Trofimovich
2025-10-14 21:00:51 +01:00
parent abe1659175
commit 27db13c607

View File

@@ -35,6 +35,12 @@ stdenv.mkDerivation rec {
url = "https://src.fedoraproject.org/rpms/astromenace/raw/5e6bc02d115a53007dc47ef8223d8eaa25607588/f/astromenace-gcc13.patch";
hash = "sha256-pkmTVR86vS+KCICxAp+d7upNWVnSNxwdKmxnbtqIvgU=";
})
(fetchpatch {
name = "cmake-4.patch";
url = "https://github.com/viewizard/astromenace/commit/eb42ddb1e86a3e67787bfd5e33ff2afdd6307142.patch";
hash = "sha256-TQVcnDrKBFvcyYhWeeEQSRjuirtJ7wYFQV+f3bHikdA=";
})
];
nativeBuildInputs = [