Unverified Commit 070937c3 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

http-getter: fix build with cmake4 (#454200)

parents 162bd217 15cf89dd
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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