ocamlPackages.tls: 0.11.1 -> 0.12.0
This commit is contained in:
parent
b67a5e424f
commit
e12b9622dc
1 changed files with 9 additions and 7 deletions
|
@ -1,28 +1,30 @@
|
||||||
{ stdenv, fetchurl, buildDunePackage, ppx_sexp_conv, ppx_cstruct, cstruct
|
{ lib, fetchurl, buildDunePackage, ppx_sexp_conv, ppx_cstruct, cstruct
|
||||||
, cstruct-sexp, sexplib, mirage-crypto, mirage-crypto-pk, mirage-crypto-rng
|
, cstruct-sexp, sexplib, mirage-crypto, mirage-crypto-pk, mirage-crypto-rng
|
||||||
, x509, domain-name, fmt, cstruct-unix, ounit2, ocaml_lwt, ptime }:
|
, x509, domain-name, fmt, cstruct-unix, ounit2, ocaml_lwt, ptime
|
||||||
|
, hacl_x25519, fiat-p256, hkdf, logs, alcotest }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
minimumOCamlVersion = "4.07";
|
minimumOCamlVersion = "4.07";
|
||||||
|
|
||||||
version = "0.11.1";
|
version = "0.12.0";
|
||||||
pname = "tls";
|
pname = "tls";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-v${version}.tbz";
|
url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-v${version}.tbz";
|
||||||
sha256 = "0ms13fbaxgmpbviazlfa4hb7nmi7s22nklc7ns926b0rr1aq1069";
|
sha256 = "0fy38qmy7rcld1b4qzz4ycl1fr0v1wa7qd24125lpd6hly86fn57";
|
||||||
};
|
};
|
||||||
|
|
||||||
useDune2 = true;
|
useDune2 = true;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
buildInputs = [ cstruct-unix ounit2 ];
|
checkInputs = [ cstruct-unix ounit2 alcotest ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ ppx_sexp_conv ppx_cstruct cstruct cstruct-sexp
|
propagatedBuildInputs = [ ppx_sexp_conv ppx_cstruct cstruct cstruct-sexp
|
||||||
sexplib mirage-crypto mirage-crypto-pk mirage-crypto-rng
|
sexplib mirage-crypto mirage-crypto-pk mirage-crypto-rng
|
||||||
x509 domain-name fmt ocaml_lwt ptime ];
|
x509 domain-name fmt ocaml_lwt ptime hacl_x25519 fiat-p256
|
||||||
|
hkdf logs ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/mirleft/ocaml-tls";
|
homepage = "https://github.com/mirleft/ocaml-tls";
|
||||||
description = "TLS in pure OCaml";
|
description = "TLS in pure OCaml";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
|
|
Loading…
Reference in a new issue