ocamlPackages.rfc7748: fix for OCaml ≥ 5.0
This commit is contained in:
committed by
Vincent Laporte
parent
59d07d970b
commit
cba62cad70
@@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildDunePackage
|
, buildDunePackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, ocaml
|
, ocaml
|
||||||
|
|
||||||
, ounit
|
, ounit
|
||||||
@@ -18,6 +19,12 @@ buildDunePackage rec {
|
|||||||
sha256 = "sha256-mgZooyfxrKBVQFn01B8PULmFUW9Zq5HJfgHCSJSkJo4=";
|
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";
|
minimalOCamlVersion = "4.05";
|
||||||
|
|
||||||
propagatedBuildInputs = [ zarith ];
|
propagatedBuildInputs = [ zarith ];
|
||||||
|
|||||||
Reference in New Issue
Block a user