summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/tls
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/tls')
-rw-r--r--pkgs/development/ocaml-modules/tls/default.nix12
-rw-r--r--pkgs/development/ocaml-modules/tls/mirage.nix5
2 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/ocaml-modules/tls/default.nix b/pkgs/development/ocaml-modules/tls/default.nix
index 2ee01ed82194..dadeb5a98eaf 100644
--- a/pkgs/development/ocaml-modules/tls/default.nix
+++ b/pkgs/development/ocaml-modules/tls/default.nix
@@ -1,17 +1,17 @@
{ lib, fetchurl, buildDunePackage, ppx_sexp_conv, ppx_cstruct, cstruct
, cstruct-sexp, sexplib, mirage-crypto, mirage-crypto-pk, mirage-crypto-rng
-, x509, domain-name, fmt, cstruct-unix, ounit2, ocaml_lwt, ptime
-, hacl_x25519, fiat-p256, hkdf, logs, alcotest }:
+, x509, domain-name, fmt, cstruct-unix, ounit2, ocaml_lwt, ptime, rresult
+, mirage-crypto-ec, hkdf, logs, alcotest }:
buildDunePackage rec {
minimumOCamlVersion = "4.08";
- version = "0.12.8";
+ version = "0.13.1";
pname = "tls";
src = fetchurl {
url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-v${version}.tbz";
- sha256 = "0sgppvfnamfnsglw1cl801i1xqkxbs33g40kwmmqj2vqjcarm26a";
+ sha256 = "ca95fa59a82f7d38b0b495fc0cd1ff54e7728492a292895d0067c1ba9de81b7b";
};
useDune2 = true;
@@ -21,8 +21,8 @@ buildDunePackage rec {
propagatedBuildInputs = [ ppx_sexp_conv ppx_cstruct cstruct cstruct-sexp
sexplib mirage-crypto mirage-crypto-pk mirage-crypto-rng
- x509 domain-name fmt ocaml_lwt ptime hacl_x25519 fiat-p256
- hkdf logs ];
+ x509 domain-name fmt ocaml_lwt ptime mirage-crypto-ec
+ hkdf logs rresult ];
meta = with lib; {
homepage = "https://github.com/mirleft/ocaml-tls";
diff --git a/pkgs/development/ocaml-modules/tls/mirage.nix b/pkgs/development/ocaml-modules/tls/mirage.nix
index ad81c03c35d0..18d0f08357d4 100644
--- a/pkgs/development/ocaml-modules/tls/mirage.nix
+++ b/pkgs/development/ocaml-modules/tls/mirage.nix
@@ -1,6 +1,6 @@
{ buildDunePackage, tls
, x509, lwt, fmt, mirage-flow, mirage-kv, mirage-clock, ptime
-, mirage-crypto, mirage-crypto-pk, hacl_x25519, fiat-p256
+, mirage-crypto, mirage-crypto-pk, mirage-crypto-ec
}:
buildDunePackage {
@@ -19,8 +19,7 @@ buildDunePackage {
ptime
mirage-crypto
mirage-crypto-pk
- hacl_x25519
- fiat-p256
+ mirage-crypto-ec
];
meta = tls.meta // {