Unverified Commit 681f27e8 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

docopt_cpp: fix build with cmake 4 (#449434)

parents b3f3b2d5 240c6368
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -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=";
    })
  ];