ocamlPackages.rfc7748: fix for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-07-24 07:14:44 +02:00 committed by Vincent Laporte
parent 59d07d970b
commit cba62cad70

View File

@ -1,6 +1,7 @@
{ lib
, buildDunePackage
, fetchFromGitHub
, fetchpatch
, ocaml
, ounit
@ -18,6 +19,12 @@ buildDunePackage rec {
sha256 = "sha256-mgZooyfxrKBVQFn01B8PULmFUW9Zq5HJfgHCSJSkJo4=";
};
# Compatibility with OCaml 5.0
patches = fetchpatch {
url = "https://github.com/burgerdev/ocaml-rfc7748/commit/f66257bae0317c7b24c4b208ee27ab6eb68460e4.patch";
hash = "sha256-780yy8gLOwwf7xIKIIIaoGpDPcY7+dZ0jPS4nrkH2s8=";
};
minimalOCamlVersion = "4.05";
propagatedBuildInputs = [ zarith ];