Skip to content

Commit a23dab1

Browse files
committed
ocamlPackages.tls: 1.0.4 → 2.0.0
1 parent 21c2509 commit a23dab1

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

pkgs/development/ocaml-modules/tls/async.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
async,
55
cstruct-async,
66
core,
7-
mirage-crypto-rng-async,
7+
mirage-crypto-rng,
88
}:
99

10-
buildDunePackage rec {
10+
buildDunePackage {
1111
pname = "tls-async";
1212

1313
inherit (tls) src version;
@@ -20,7 +20,7 @@ buildDunePackage rec {
2020
async
2121
core
2222
cstruct-async
23-
mirage-crypto-rng-async
23+
mirage-crypto-rng
2424
tls
2525
];
2626

pkgs/development/ocaml-modules/tls/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
buildDunePackage rec {
2020
pname = "tls";
21-
version = "1.0.4";
21+
version = "2.0.0";
2222

2323
src = fetchurl {
2424
url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-${version}.tbz";
25-
hash = "sha256-yFt8Gh4ipseWEHsnJVld3iYElMDvBrYdn1O+IuHcQug=";
25+
hash = "sha256-aEcNa6hIAHWQjAzGn/6Cq7y7g6t/mI0mYzWhnxLCamI=";
2626
};
2727

2828
minimalOCamlVersion = "4.08";

pkgs/development/ocaml-modules/tls/eio.nix

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,19 @@
55
eio_main,
66
logs,
77
mdx,
8-
mirage-crypto-rng-eio,
8+
mirage-crypto-rng,
99
ptime,
1010
tls,
1111
}:
1212

13-
buildDunePackage rec {
13+
buildDunePackage {
1414
pname = "tls-eio";
1515

1616
inherit (tls) src meta version;
1717

1818
minimalOCamlVersion = "5.0";
1919

20-
# Tests are not compatible with mirage-crypto-rng 1.2.0
21-
doCheck = false;
20+
doCheck = true;
2221
nativeCheckInputs = [
2322
mdx.bin
2423
];
@@ -31,7 +30,7 @@ buildDunePackage rec {
3130
propagatedBuildInputs = [
3231
ptime
3332
eio
34-
mirage-crypto-rng-eio
33+
mirage-crypto-rng
3534
tls
3635
];
3736
}

pkgs/development/ocaml-modules/tls/lwt.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
buildDunePackage,
33
tls,
44
lwt,
5-
mirage-crypto-rng-lwt,
5+
mirage-crypto-rng,
66
}:
77

8-
buildDunePackage rec {
8+
buildDunePackage {
99
pname = "tls-lwt";
1010

1111
inherit (tls) src meta version;
@@ -16,7 +16,7 @@ buildDunePackage rec {
1616

1717
propagatedBuildInputs = [
1818
lwt
19-
mirage-crypto-rng-lwt
19+
mirage-crypto-rng
2020
tls
2121
];
2222
}

pkgs/development/ocaml-modules/tls/mirage.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
tls,
44
fmt,
55
lwt,
6-
mirage-clock,
76
mirage-crypto,
87
mirage-crypto-pk,
98
mirage-flow,
109
mirage-kv,
10+
mirage-ptime,
1111
ptime,
1212
}:
1313

@@ -18,11 +18,11 @@ buildDunePackage {
1818
propagatedBuildInputs = [
1919
fmt
2020
lwt
21-
mirage-clock
2221
mirage-crypto
2322
mirage-crypto-pk
2423
mirage-flow
2524
mirage-kv
25+
mirage-ptime
2626
ptime
2727
tls
2828
];

0 commit comments

Comments
 (0)