* ocamlPackages.x509: 0.14.1 -> 0.15.2 https://github.com/mirleft/ocaml-x509/releases/tag/v0.15.0 https://github.com/mirleft/ocaml-x509/releases/tag/v0.15.1 https://github.com/mirleft/ocaml-x509/releases/tag/v0.15.2 * ocamlPackages.awa*: 0.0.4 -> 0.0.5 https://github.com/mirage/awa-ssh/releases/tag/v0.0.5 * ocamlPackages.tls*: 0.14.1 -> 0.15.2 https://github.com/mirleft/ocaml-tls/releases/tag/v0.15.0 https://github.com/mirleft/ocaml-tls/releases/tag/v0.15.1 https://github.com/mirleft/ocaml-tls/releases/tag/v0.15.2 * jackline: unstable-2021-08-10 -> unstable-2021-12-28 * ocamlPackages.ca-certs-nss: 3.66 -> 3.71.0.1 https://github.com/mirage/ca-certs-nss/releases/tag/v3.71 https://github.com/mirage/ca-certs-nss/releases/tag/v3.71.0.1 * ocamlPackages.conduit*: 4.0.1 -> 4.0.2 https://github.com/mirage/ocaml-conduit/releases/tag/v4.0.2 * ocamlPackages.letsencrypt*: 0.3.0 -> 0.4.1 https://github.com/mmaker/ocaml-letsencrypt/releases/tag/v0.4.0 https://github.com/mmaker/ocaml-letsencrypt/releases/tag/v0.4.1 * ocamlPackages.paf: 0.0.5 -> 0.0.6 https://github.com/dinosaure/paf-le-chien/releases/tag/0.0.6
32 lines
930 B
Nix
32 lines
930 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, alcotest, cstruct-unix
|
|
, asn1-combinators, domain-name, fmt, gmap, pbkdf, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, ipaddr
|
|
, logs, base64
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
pname = "x509";
|
|
version = "0.15.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirleft/ocaml-x509/releases/download/v${version}/x509-v${version}.tbz";
|
|
sha256 = "4034afdd83a0cb8291b1f809403015da9139bd772813d59d6093e42ec31ba643";
|
|
};
|
|
|
|
useDune2 = true;
|
|
|
|
buildInputs = [ alcotest cstruct-unix ];
|
|
propagatedBuildInputs = [ asn1-combinators domain-name fmt gmap mirage-crypto mirage-crypto-pk mirage-crypto-ec pbkdf logs base64 ipaddr ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mirleft/ocaml-x509";
|
|
description = "X509 (RFC5280) handling in OCaml";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|