opam-version: "2.0"
homepage:     "https://github.com/sg2342/ocaml-rfc6287"
dev-repo:     "git+https://github.com/sg2342/ocaml-rfc6287.git"
bug-reports:  "https://github.com/sg2342/ocaml-rfc6287/issues"
maintainer:   ["Stefan Grundmann <sg2342@googlemail.com>"]
license:      "BSD2"
doc: 	      "https://sg2342.github.io/ocaml-rfc6287/doc"
synopsis: "OCRA (OATH Challenge-Response Algorithm) implementation in OCaml"
description: """
OCaml implementation of [RFC6287](http://tools.ietf.org/html/rfc6287) OCRA (OATH Challenge-Response Algorithm)
incl. [RFC Errata ID: 3729](http://www.rfc-editor.org/errata_search.php?eid=3729)
"""

build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs ]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "ocaml" {>= "4.07.0"}
  "dune" {>= "1.1"}
  "mirage-crypto"
  "mirage-crypto-pk"
  "mirage-crypto-rng"
  "cstruct" {>= "3.2.0"}
  "astring"
  "hex"
  "rresult"
  "ounit" {with-test}
  "bisect_ppx" {dev & >= "1.3.0"}
]
authors: "Stefan Grundmann <sg2342@googlemail.com>"
url {
  src:
    "https://github.com/sg2342/ocaml-rfc6287/releases/download/1.0.4/rfc6287-1.0.4.tbz"
  checksum: [
    "sha256=9c33a5cc8330a7557438f1ea2535128d992bbe175429b7d0f5c9f183acef6f66"
    "sha512=6543f3f26d1b7475972591359b873a01fb79f923759b6d74b1317a6116d09a4cebdcad6b92276eb3a4271d043c048b8a42c676a91f8eb48244c89aff7b8c76d4"
  ]
}
