File tree Expand file tree Collapse file tree 7 files changed +44
-15
lines changed
development/ocaml-modules Expand file tree Collapse file tree 7 files changed +44
-15
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildDunePackage ,
4+ fetchurl ,
5+ ptime ,
6+ version ? "5.0.0" ,
7+ } :
8+
9+ buildDunePackage {
10+ inherit version ;
11+
12+ pname = "mirage-ptime" ;
13+
14+ src = fetchurl {
15+ url = "https://github.com/mirage/mirage-ptime/releases/download/v${ version } /mirage-ptime-${ version } .tbz" ;
16+ hash = "sha256-1VNWBGjVuU2yWwVzjCSZ8pDuZrFKwitDAuZn8fpENHE=" ;
17+ } ;
18+
19+ propagatedBuildInputs = [ ptime ] ;
20+
21+ meta = {
22+ description = "A POSIX clock for MirageOS" ;
23+ license = lib . licenses . isc ;
24+ maintainers = [ lib . maintainers . vbgl ] ;
25+ changelog = "https://raw.githubusercontent.com/mirage/mirage-ptime/refs/tags/v${ version } /CHANGES.md" ;
26+ homepage = "https://github.com/mirage/mirage-ptime" ;
27+ } ;
28+ }
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1818
1919buildDunePackage 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" ;
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 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 ] ;
Original file line number Diff line number Diff line change @@ -1216,6 +1216,8 @@ let
12161216
12171217 mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { } ;
12181218
1219+ mirage-ptime = callPackage ../development/ocaml-modules/mirage-ptime { } ;
1220+
12191221 mirage-random = callPackage ../development/ocaml-modules/mirage-random { } ;
12201222
12211223 mirage-random-test = callPackage ../development/ocaml-modules/mirage-random-test { } ;
You can’t perform that action at this time.
0 commit comments