ocamlPackages.mirage-crypto*: 0.8.8 -> 0.8.10

ocamlPackages.x509: fix tests for mirage-crypto >= 0.8.9
This commit is contained in:
sternenseemann
2021-01-21 21:41:18 +01:00
committed by Vincent Laporte
parent c06d37b803
commit 80b13365e9
2 changed files with 11 additions and 3 deletions
@@ -1,4 +1,4 @@
{ lib, fetchurl, buildDunePackage
{ lib, fetchurl, buildDunePackage, fetchpatch
, alcotest, cstruct-unix
, asn1-combinators, domain-name, fmt, gmap, rresult, mirage-crypto, mirage-crypto-pk
, logs, base64
@@ -15,6 +15,14 @@ buildDunePackage rec {
sha256 = "1b4lcphmlyjhdgqi0brakgjp3diwmrj1y9hx87svi5xklw3zik22";
};
patches = [
# fix tests for mirage-crypto >= 0.8.9, can be removed at next release
(fetchpatch {
url = "https://github.com/mirleft/ocaml-x509/commit/ba1fdd4432950293e663416a0c454c8c04a71c0f.patch";
sha256 = "1rbjf7408772ns3ypk2hyw9v17iy1kcx84plr1rqc56iwk9zzxmr";
})
];
useDune2 = true;
buildInputs = [ alcotest cstruct-unix ];