opam-version: "2.0"
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
homepage: "https://github.com/hannesm/randomconv"
doc: "https://hannesm.github.io/randomconv/doc"
dev-repo: "git+https://github.com/hannesm/randomconv.git"
bug-reports: "https://github.com/hannesm/randomconv/issues"
license: "ISC"

depends: [
  "ocaml"
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build}
  "cstruct" {>= "1.9.0"}
]
build: [
  [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" ]
]
synopsis: "Convert from random bytes to random native numbers"
description: """
Given a function which produces random byte vectors, convert it to
a number of your choice (int32/int64/int/float)."""
url {
  src:
    "https://github.com/hannesm/randomconv/releases/download/0.1.0/randomconv-0.1.0.tbz"
  checksum: "md5=1551a69a7511de81f2ca6c3fe7d262c8"
}
