-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
35 lines (34 loc) · 1.15 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: "Hannes Mehnert <hannes@mehnert.org>"
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
homepage: "https://github.com/hannesm/duration"
doc: "https://hannesm.github.io/duration/doc"
dev-repo: "git+https://github.com/hannesm/duration.git"
bug-reports: "https://github.com/hannesm/duration/issues"
license: "ISC"
depends: [
"ocaml"
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build}
"alcotest" {with-test & >= "0.6.0" & < "0.8.0"}
]
build: [
["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
{with-test}
["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
synopsis: "Conversions to various time units"
description: """
A duration is represented in nanoseconds as an unsigned 64 bit integer. This
has a range of up to 584 years. Functions provided check the input and raise
on negative or out of bound input."""
url {
src:
"https://github.com/hannesm/duration/releases/download/0.1.0/duration-0.1.0.tbz"
checksum: [
"sha256=9d05768384e45fb4f6d47be8983b02715ddd20d9b78527437289ec058361f7db"
"md5=66d8a70ca5ebb5136618a2bc93df7821"
]
}