this repo has no description
1opam-version: "2.0"
2maintainer: "Hannes Mehnert <hannes@mehnert.org>"
3authors: ["Hannes Mehnert <hannes@mehnert.org>"]
4homepage: "https://github.com/hannesm/duration"
5doc: "https://hannesm.github.io/duration/doc"
6dev-repo: "git+https://github.com/hannesm/duration.git"
7bug-reports: "https://github.com/hannesm/duration/issues"
8license: "ISC"
9
10depends: [
11 "ocaml"
12 "ocamlfind" {build}
13 "ocamlbuild" {build}
14 "topkg" {build}
15 "alcotest" {with-test & >= "0.6.0" & < "0.8.0"}
16]
17build: [
18 ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
19 ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
20 {with-test}
21 ["ocaml" "pkg/pkg.ml" "test"] {with-test}
22]
23synopsis: "Conversions to various time units"
24description: """
25A duration is represented in nanoseconds as an unsigned 64 bit integer. This
26has a range of up to 584 years. Functions provided check the input and raise
27on negative or out of bound input."""
28url {
29 src:
30 "https://github.com/hannesm/duration/releases/download/0.1.0/duration-0.1.0.tbz"
31 checksum: [
32 "sha256=9d05768384e45fb4f6d47be8983b02715ddd20d9b78527437289ec058361f7db"
33 "md5=66d8a70ca5ebb5136618a2bc93df7821"
34 ]
35}