opam-version: "2.0"
maintainer: "andreas@ml.ignorelist.com"
authors: [ "andreas@ml.ignorelist.com" ]
license: "MIT"
homepage: "https://github.com/fdopen/cryptohash"
dev-repo: "git+https://github.com/fdopen/cryptohash.git"
bug-reports: "https://github.com/fdopen/cryptohash/issues"
build: [
  ["omake" "lib"]
  ["omake" "quick-test"] {with-test}
]
install: [["omake" "install"]]
remove: [
  ["ocamlfind" "remove" "cryptohash"]
]
depends: [
  "ocaml"
  "base-unix" {with-test}
  "base-bigarray"
  "base-bytes"
  "ocamlfind" {build}
  "omake" {build}
  "camlp4" {build}
  "ounit" {with-test & >= "2.0"}
]
synopsis: "hash functions for OCaml"
description: """
Cryptohash provides OCaml bindings to various cryptographic hash
functions written in C"""
flags: light-uninstall
url {
  src:
    "https://github.com/fdopen/cryptohash/releases/download/0.1/cryptohash-0.1.tar.gz"
  checksum: "md5=5eb9507779d265d32c61dc0d40e888c5"
}
