/
opam
35 lines (35 loc) · 1.27 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
opam-version: "2.0"
maintainer: "anil@recoil.org"
authors: ["Anil Madhavapeddy" "Daniel C. Bünzli" "Matthew Gray"]
license: "ISC"
tags: "org:mirage"
homepage: "https://github.com/mirage/mirage-clock"
doc: "https://mirage.github.io/mirage-clock/"
bug-reports: "https://github.com/mirage/mirage-clock/issues"
synopsis: "Unix-based implementation for the MirageOS Clock interface"
description: """
The Unix implementation of the MirageOS Clock interface uses
`gettimeofday` or `clock_gettime`, depending on
which OS is in use (see [clock_stubs.c](https://github.com/mirage/mirage-clock/blob/master/unix/clock_stubs.c)).
"""
depends: [
"ocaml" {>= "4.08.0"}
"dune"
"dune-configurator"
"mirage-clock" {= version}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name] {with-test}
]
dev-repo: "git+https://github.com/mirage/mirage-clock.git"
url {
src:
"https://github.com/mirage/mirage-clock/releases/download/v4.0.0/mirage-clock-v4.0.0.tbz"
checksum: [
"sha256=77c5faa1e30588d4e287fcf32c21dc1460611eba03515a860526c7097c2a9678"
"sha512=7600a0fbcc88637ef09242283bec80fc68f95340fd671abcec663a34041cf98b17e31fe4ee2f6d33dfab1a806049f22863ed5b76c9e2e40d0c6a0b1262f17329"
]
}
x-commit-hash: "5c1fa5e5818d1a5d8600894e95f07d48ad705c6f"