File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
development/ocaml-modules/mirage-ptime Expand file tree Collapse file tree 2 files changed +30
-0
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 @@ -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