ocamlPackages.x509: 0.11.2 -> 0.12.0
Adds support for EC DSA from mirage-crypto Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
This commit is contained in:
parent
8e16538785
commit
1a2c0d2213
pkgs/development/ocaml-modules/x509
|
@ -1,6 +1,6 @@
|
|||
{ lib, fetchurl, buildDunePackage, fetchpatch
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
, alcotest, cstruct-unix
|
||||
, asn1-combinators, domain-name, fmt, gmap, rresult, mirage-crypto, mirage-crypto-pk
|
||||
, asn1-combinators, domain-name, fmt, gmap, pbkdf, rresult, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk
|
||||
, logs, base64
|
||||
}:
|
||||
|
||||
|
@ -8,25 +8,17 @@ buildDunePackage rec {
|
|||
minimumOCamlVersion = "4.07";
|
||||
|
||||
pname = "x509";
|
||||
version = "0.11.2";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirleft/ocaml-x509/releases/download/v${version}/x509-v${version}.tbz";
|
||||
sha256 = "1b4lcphmlyjhdgqi0brakgjp3diwmrj1y9hx87svi5xklw3zik22";
|
||||
sha256 = "04g59j8sn8am0z0a94h8cyvr6cqzd5gkn2lj6g51nb5dkwajj19h";
|
||||
};
|
||||
|
||||
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 ];
|
||||
propagatedBuildInputs = [ asn1-combinators domain-name fmt gmap mirage-crypto mirage-crypto-pk rresult logs base64 ];
|
||||
propagatedBuildInputs = [ asn1-combinators domain-name fmt gmap mirage-crypto mirage-crypto-pk mirage-crypto-ec pbkdf rresult logs base64 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue