opam-version: "2.0" maintainer: "Hannes Mehnert " authors: ["Hannes Mehnert "] 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.8.1"} ] 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.1/duration-0.1.1.tbz" checksum: [ "sha256=842a2c07a9985e01fbe104de08e7fb3be799fdae9a35b4692d54ebf617d69097" "md5=160e36e2ba16a01492c8c2b6d8c496ac" ] }