diff --git a/pkgs/development/ocaml-modules/github/default.nix b/pkgs/development/ocaml-modules/github/default.nix index 7c91f5a9dbcf..28a5de55978c 100644 --- a/pkgs/development/ocaml-modules/github/default.nix +++ b/pkgs/development/ocaml-modules/github/default.nix @@ -13,13 +13,13 @@ buildDunePackage rec { pname = "github"; - version = "4.5.0"; + version = "4.5.1"; src = fetchFromGitHub { owner = "mirage"; repo = "ocaml-github"; rev = version; - sha256 = "sha256-/IRoaGh4nYcdv4ir3LOS1d9UHLfWJ6DdPyFoFVCS+p4="; + sha256 = "sha256-nxHXOdZAvFe5/lKNw7tTJmY86xzfdFT+fW+lnKioyPM="; }; duneVersion = "3"; diff --git a/pkgs/development/ocaml-modules/github/unix.nix b/pkgs/development/ocaml-modules/github/unix.nix index 54e5dc5daa98..ae6bdb7967a8 100644 --- a/pkgs/development/ocaml-modules/github/unix.nix +++ b/pkgs/development/ocaml-modules/github/unix.nix @@ -13,16 +13,8 @@ buildDunePackage { pname = "github-unix"; inherit (github) version src; - patches = [ - # Compatibility with yojson 3.0 - (fetchpatch { - url = "https://github.com/mirage/ocaml-github/commit/487d7d413363921a8ffbb941610c2f71c811add8.patch"; - hash = "sha256-ThCsWRQKmlRg7rk8tlorsO87v8RWnBvocHDvgg/WWMA="; - }) - ]; - postPatch = '' - substituteInPlace unix/dune --replace 'github bytes' 'github' + substituteInPlace unix/dune --replace-fail 'github bytes' 'github' ''; propagatedBuildInputs = [