opam-version: "2.0"
homepage:     "https://github.com/mirage/mirage-crypto"
dev-repo:     "git+https://github.com/mirage/mirage-crypto.git"
bug-reports:  "https://github.com/mirage/mirage-crypto/issues"
doc:          "https://mirage.github.io/mirage-crypto/doc"
authors:      ["David Kaloper <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
maintainer:   "Hannes Mehnert <hannes@mehnert.org>"
license:      "ISC"
synopsis:     "A cryptographically secure PRNG"

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

depends: [
  "ocaml" {>= "4.08.0"}
  "dune" {>= "1.7"}
  "dune-configurator"
  "duration"
  "cstruct" {>= "4.0.0"}
  "logs"
  "mirage-crypto" {=version}
  "ounit" {with-test}
  "randomconv" {with-test & >= "0.1.3"}
# lwt sublibrary
  "mtime"
  "lwt" {>= "4.0.0"}
]
conflicts: [ "mirage-runtime" {< "3.8.0"} ]
description: """
Mirage-crypto-rng provides a random number generator interface, and
implementations: Fortuna, HMAC-DRBG, getrandom/getentropy based (in the unix
sublibrary)
"""
x-commit-hash: "162d04ec4684f8d5a0c05154ca8219d217ad0b39"
url {
  src:
    "https://github.com/mirage/mirage-crypto/releases/download/v0.8.4/mirage-crypto-v0.8.4.tbz"
  checksum: [
    "sha256=b94b1e4ac8e5d93802f95843e323ebc0b6645c778e2b80970a37134d29e509f0"
    "sha512=d320b55e66d546c877f6398bac0a1ea17d90b6473082bd3911ef7f338ee821fa965c359326215fc521a64e41ea577ee35adbe3ce9155964530434c8c624db99e"
  ]
}
