opam-version: "2.0"
authors: ["Anil Madhavapeddy" "Daniel C. Bünzli" "Matthew Gray"]
maintainer: "anil@recoil.org"
homepage: "https://github.com/mirage/mirage-clock"
bug-reports: "https://github.com/mirage/mirage-clock/issues"
dev-repo: "git://github.com/mirage/mirage-clock"
doc: "https://mirage.github.io/mirage-clock/"

license: "ISC"
tags: ["org:mirage"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build & >= "0.8.0"}
  "mirage-device" {>= "1.0.0" & < "2.0.0"}
]
build: [ "ocaml" "pkg/pkg.ml" "build" "--pkg-name" name "--pinned" "%{pinned}%" ]
synopsis: "Libraries and module types for two kinds of clocks:"
description: """
* clocks which give a full date and time (PCLOCK)
* clocks which give a count of time elapsed since the clock started, guaranteed to always increase (MCLOCK)

These are primarily useful in the context of Mirage projects."""
url {
  src:
    "https://github.com/mirage/mirage-clock/releases/download/1.2.0/mirage-clock-1.2.0.tbz"
  checksum: "md5=8fcd0b9e05aa62cb75ca7cde8f1bcfeb"
}
