Commit 268f3732 authored by Jon Hermansen's avatar Jon Hermansen
Browse files

ocaml-augeas: update download URLs for debian patches

The current set of patches are not available at the old URLs,
because the Debian package revision was updated.

Switched the fetching strategy to pull directly from Salsa

The patch contents have not changed
parent 0b412937
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
{
  stdenv,
  fetchurl,
  fetchDebianPatch,
  fetchpatch,
  autoreconfHook,
  makeWrapper,
  pkg-config,
@@ -22,16 +22,12 @@ stdenv.mkDerivation rec {
  };

  patches = [
    (fetchDebianPatch {
      inherit pname version;
      debianRevision = "1";
      patch = "0001-Use-ocamlopt-g-option.patch";
    (fetchpatch {
      url = "https://salsa.debian.org/debian/ocaml-augeas/-/raw/07c2408a7e5a06cefe5d53a89fecaa8556a39b06/debian/patches/0001-Use-ocamlopt-g-option.patch";
      hash = "sha256-EMd/EfWO2ni0AMonfS7G5FENpVVq0+q3gUPd4My+Upg=";
    })
    (fetchDebianPatch {
      inherit pname version;
      debianRevision = "1";
      patch = "0002-caml_named_value-returns-const-value-pointer-in-OCam.patch";
    (fetchpatch {
      url = "https://salsa.debian.org/debian/ocaml-augeas/-/raw/07c2408a7e5a06cefe5d53a89fecaa8556a39b06/debian/patches/0002-caml_named_value-returns-const-value-pointer-in-OCam.patch";
      hash = "sha256-Y53UHwrTVeV3hnsvABmWxlPi2Fanm0Iy1OR8Zql5Ub8=";
    })
  ];