opam-version: "2.0"
synopsis: "Adler-32, CRC32 and CRC32-C implementation in C and OCaml"
description: """\
Checkseum is a library to provide implementation of Adler-32, CRC32 and CRC32-C
in C and OCaml.

This library use the linking trick to choose between the C implementation
(checkseum.c) or the OCaml implementation (checkseum.ocaml). This library is on
top of optint to get the best representation of an int32."""
maintainer: "Romain Calascibetta <romain.calascibetta@gmail.com>"
authors: "Romain Calascibetta <romain.calascibetta@gmail.com>"
license: "MIT"
homepage: "https://github.com/mirage/checkseum"
doc: "https://mirage.github.io/checkseum/"
bug-reports: "https://github.com/mirage/checkseum/issues"
depends: [
  "ocaml" {>= "4.07.0"}
  "dune" {>= "2.6.0"}
  "dune-configurator"
  "optint" {>= "0.3.0"}
  "alcotest" {with-test}
  "bos" {with-test}
  "astring" {with-test}
  "fmt" {with-test}
  "fpath" {with-test}
  "rresult" {with-test}
  "ocamlfind" {with-test}
]
conflicts: [
  "mirage-xen" {< "6.0.0"}
  "ocaml-freestanding"
]
build: [
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
install: [
  ["dune" "install" "-p" name] {with-test}
  ["ocaml" "./test/test_runes.ml"] {with-test}
]
dev-repo: "git+https://github.com/mirage/checkseum.git"
url {
  src:
    "https://github.com/mirage/checkseum/releases/download/v0.5.2/checkseum-0.5.2.tbz"
  checksum: [
    "sha256=9e5e4fd4405cb4a8b4df00877543251833e08a6499ef42ccb8dba582df0dafc8"
    "sha512=b66261effaa561ce5cb8d92a3ec78565a5579bf3d3c4b7f08eba59998ac4d7f49ae9c240986c231b22b965c93a949a8a2e35edec42277ecb5602829945fba6db"
  ]
}
x-commit-hash: "79867ddb97f347657ff2ec026da1d77ec7864db6"
x-maintenance-intent: ["(latest)"]
