docopt_cpp: fix build with cmake 4

This commit is contained in:
Colin
2025-10-07 09:28:32 +00:00
parent f9a367191e
commit 240c636827

View File

@@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
fetchpatch2,
cmake,
python3,
}:
@@ -19,10 +19,15 @@ stdenv.mkDerivation rec {
};
patches = [
(fetchpatch {
(fetchpatch2 {
name = "python3-for-tests";
url = "https://github.com/docopt/docopt.cpp/commit/b3d909dc952ab102a4ad5a1541a41736f35b92ba.patch";
hash = "sha256-JJR09pbn3QhYaZAIAjs+pe28+g1VfgHUKspWorHzr8o=";
url = "https://github.com/docopt/docopt.cpp/commit/b3d909dc952ab102a4ad5a1541a41736f35b92ba.patch?full_index=1";
hash = "sha256-LXnN36/JuHsCeLnjuPFa42dT52iOcnJd4NGYx96Z5c0=";
})
(fetchpatch2 {
name = "Increase-cmake_minimum_required-to-3.5";
url = "https://github.com/docopt/docopt.cpp/commit/05d507da0d153faff381f44968833ebffdc03447.patch?full_index=1";
hash = "sha256-bwKkhU3+GZFIUH0Ig0l9zcTtox9som3DY+ZApWrWl80=";
})
];