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.8.1"}
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.1/duration-0.1.1.tbz"
31 checksum: [
32 "sha256=842a2c07a9985e01fbe104de08e7fb3be799fdae9a35b4692d54ebf617d69097"
33 "md5=160e36e2ba16a01492c8c2b6d8c496ac"
34 ]
35}