opam-version: "2.0"
maintainer: "hugo.heuzard@gmail.com"
authors: [ "Hugo Heuzard" ]
license: "MIT"
homepage: "https://github.com/hhugo/odate"
bug-reports:  "https://github.com/hhugo/odate/issues"
dev-repo: "git+https://github.com/hhugo/odate.git"

synopsis: "Date & Duration Library"

description: """
Simple date and duration manipulation. Also implement duration printer
based on string format. Already implemented in opalang
[http://opalang.org/]. For documentation about the format, see :
[http://doc.opalang.org/value/stdlib.core.date/Duration/try_generate_printer].
"""

build: [
  ["dune" "subst"] {dev}
  ["dune" "build" "-p" name "-j" jobs]
]

depends: [
  "ocaml" {>= "4.07.0"}
  "dune" {>= "2.2"}
  "menhir" {build}
  "base-unix"
  "ppx_expect" {with-test}
]
x-commit-hash: "4818467f40cddf7f58ac2974527a6f2ef46c5c17"
url {
  src: "https://github.com/hhugo/odate/archive/0.6.tar.gz"
  checksum: [
    "sha256=32e56ede263b4c1334e98a8cdb73f4404eadc6a5bfa99fb8de5bc40703daa49d"
    "sha512=cdf80665fdac1cf5d3aa2a15c3887f6f5c2a9e7257c42d08c1dc2f376ae78559ee9d32f555a78b397744e99f3500ebd01a4465ef01b41520fb1fa7bd942aa36b"
  ]
}
