http-getter: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-26 01:58:42 -03:00
parent 0720d4cf7a
commit 15cf89dd7a
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
curl,
pkg-config,
@@ -18,6 +19,14 @@ stdenv.mkDerivation {
sha256 = "0plyqqwfm9bysichda0w3akbdxf6279wd4mx8mda0c4mxd4xy9nl";
};
patches = [
(fetchpatch {
name = "cmake4-fix";
url = "https://github.com/tohojo/http-getter/commit/a3646c4cd5f4558f942c2323bbeb83d82a6ce8c1.patch?full_index=1";
hash = "sha256-/fQP0AlEKm/hDj9POGjdAPoW4Z+UExaNnk9PbvW22uE=";
})
];
nativeBuildInputs = [
cmake
pkg-config