ocamlPackages.tls: 1.0.4 → 2.0.0 (#384688)

This commit is contained in:
h7x4
2025-02-26 12:28:41 +01:00
committed by GitHub
7 changed files with 44 additions and 15 deletions
@@ -0,0 +1,28 @@
{
lib,
buildDunePackage,
fetchurl,
ptime,
version ? "5.0.0",
}:
buildDunePackage {
inherit version;
pname = "mirage-ptime";
src = fetchurl {
url = "https://github.com/mirage/mirage-ptime/releases/download/v${version}/mirage-ptime-${version}.tbz";
hash = "sha256-1VNWBGjVuU2yWwVzjCSZ8pDuZrFKwitDAuZn8fpENHE=";
};
propagatedBuildInputs = [ ptime ];
meta = {
description = "A POSIX clock for MirageOS";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
changelog = "https://raw.githubusercontent.com/mirage/mirage-ptime/refs/tags/v${version}/CHANGES.md";
homepage = "https://github.com/mirage/mirage-ptime";
};
}
+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
];
+2
View File
@@ -1216,6 +1216,8 @@ let
mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
mirage-ptime = callPackage ../development/ocaml-modules/mirage-ptime { };
mirage-random = callPackage ../development/ocaml-modules/mirage-random { };
mirage-random-test = callPackage ../development/ocaml-modules/mirage-random-test { };