ocamlPackages.tls: 1.0.4 → 2.0.0

This commit is contained in:
Vincent Laporte
2025-02-24 07:15:14 +01:00
parent 21c2509a91
commit a23dab1f2c
5 changed files with 14 additions and 15 deletions
+3 -3
View File
@@ -4,10 +4,10 @@
async,
cstruct-async,
core,
mirage-crypto-rng-async,
mirage-crypto-rng,
}:
buildDunePackage rec {
buildDunePackage {
pname = "tls-async";
inherit (tls) src version;
@@ -20,7 +20,7 @@ buildDunePackage rec {
async
core
cstruct-async
mirage-crypto-rng-async
mirage-crypto-rng
tls
];
@@ -18,11 +18,11 @@
buildDunePackage rec {
pname = "tls";
version = "1.0.4";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-${version}.tbz";
hash = "sha256-yFt8Gh4ipseWEHsnJVld3iYElMDvBrYdn1O+IuHcQug=";
hash = "sha256-aEcNa6hIAHWQjAzGn/6Cq7y7g6t/mI0mYzWhnxLCamI=";
};
minimalOCamlVersion = "4.08";
+4 -5
View File
@@ -5,20 +5,19 @@
eio_main,
logs,
mdx,
mirage-crypto-rng-eio,
mirage-crypto-rng,
ptime,
tls,
}:
buildDunePackage rec {
buildDunePackage {
pname = "tls-eio";
inherit (tls) src meta version;
minimalOCamlVersion = "5.0";
# Tests are not compatible with mirage-crypto-rng 1.2.0
doCheck = false;
doCheck = true;
nativeCheckInputs = [
mdx.bin
];
@@ -31,7 +30,7 @@ buildDunePackage rec {
propagatedBuildInputs = [
ptime
eio
mirage-crypto-rng-eio
mirage-crypto-rng
tls
];
}
+3 -3
View File
@@ -2,10 +2,10 @@
buildDunePackage,
tls,
lwt,
mirage-crypto-rng-lwt,
mirage-crypto-rng,
}:
buildDunePackage rec {
buildDunePackage {
pname = "tls-lwt";
inherit (tls) src meta version;
@@ -16,7 +16,7 @@ buildDunePackage rec {
propagatedBuildInputs = [
lwt
mirage-crypto-rng-lwt
mirage-crypto-rng
tls
];
}
@@ -3,11 +3,11 @@
tls,
fmt,
lwt,
mirage-clock,
mirage-crypto,
mirage-crypto-pk,
mirage-flow,
mirage-kv,
mirage-ptime,
ptime,
}:
@@ -18,11 +18,11 @@ buildDunePackage {
propagatedBuildInputs = [
fmt
lwt
mirage-clock
mirage-crypto
mirage-crypto-pk
mirage-flow
mirage-kv
mirage-ptime
ptime
tls
];