diff --git a/pkgs/by-name/do/docopt_cpp/package.nix b/pkgs/by-name/do/docopt_cpp/package.nix index 37c50283f698..a46d051f6750 100644 --- a/pkgs/by-name/do/docopt_cpp/package.nix +++ b/pkgs/by-name/do/docopt_cpp/package.nix @@ -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="; }) ];