* 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
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{ lib, fetchurl, buildDunePackage
|
|
, cstruct, cstruct-sexp, domain-name, fmt, ppx_cstruct, ppx_sexp_conv, logs, hkdf, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, mirage-crypto-rng, ocaml_lwt, ptime, sexplib, x509
|
|
, ipaddr, ipaddr-sexp
|
|
, alcotest, cstruct-unix, ounit2, randomconv
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "tls";
|
|
version = "0.15.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-v${version}.tbz";
|
|
sha256 = "b76371757249bbeabb12c333de4ea2a09c095767bdbbc83322538c0da1fc1e36";
|
|
};
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
useDune2 = true;
|
|
|
|
propagatedBuildInputs = [
|
|
cstruct
|
|
cstruct-sexp
|
|
domain-name
|
|
fmt
|
|
ppx_cstruct
|
|
ppx_sexp_conv
|
|
logs
|
|
hkdf
|
|
mirage-crypto
|
|
mirage-crypto-ec
|
|
mirage-crypto-pk
|
|
mirage-crypto-rng
|
|
ocaml_lwt
|
|
ptime
|
|
sexplib
|
|
x509
|
|
ipaddr
|
|
ipaddr-sexp
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
alcotest
|
|
cstruct-unix
|
|
ounit2
|
|
randomconv
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mirleft/ocaml-tls";
|
|
description = "TLS in pure OCaml";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
};
|
|
}
|