git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.mirage-crypto*: 0.8.8 -> 0.8.10

ocamlPackages.x509: fix tests for mirage-crypto >= 0.8.9

commit80b13365e9a5482f4a2a1c5b150f328af54bbe15 authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> dateThu 21 Jan 2021, 00:09 (6 years ago) parentc06d37b
2 files changed+11−3
pkgs/development/ocaml-modules/mirage-crypto/default.nix+2−2 pkgs/development/ocaml-modules/x509/default.nix+9−1
pkgs/development/ocaml-modules/mirage-crypto/default.nix+2−2
@@ -4,11 +4,11 @@ buildDunePackage rec {
44 minimumOCamlVersion = "4.08";
55
66 pname = "mirage-crypto";
7− version = "0.8.8";
7+ version = "0.8.10";
88
99 src = fetchurl {
1010 url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
11− sha256 = "19czylfyakckfzzcbqgv9ygl243wix7ak8zkbdcb9hcl2k2shswb";
11+ sha256 = "8a5976fe7837491d2fbd1917b77524776f70ae590e9f55cf757cc8951b5481fc";
1212 };
1313
1414 useDune2 = true;
pkgs/development/ocaml-modules/x509/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ lib, fetchurl, buildDunePackage
1+{ lib, fetchurl, buildDunePackage, fetchpatch
22, alcotest, cstruct-unix
33, asn1-combinators, domain-name, fmt, gmap, rresult, mirage-crypto, mirage-crypto-pk
44, logs, base64
@@ -15,6 +15,14 @@ buildDunePackage rec {
1515 sha256 = "1b4lcphmlyjhdgqi0brakgjp3diwmrj1y9hx87svi5xklw3zik22";
1616 };
1717
18+ patches = [
19+ # fix tests for mirage-crypto >= 0.8.9, can be removed at next release
20+ (fetchpatch {
21+ url = "https://github.com/mirleft/ocaml-x509/commit/ba1fdd4432950293e663416a0c454c8c04a71c0f.patch";
22+ sha256 = "1rbjf7408772ns3ypk2hyw9v17iy1kcx84plr1rqc56iwk9zzxmr";
23+ })
24+ ];
25+
1826 useDune2 = true;
1927
2028 buildInputs = [ alcotest cstruct-unix ];