opam-version: "2.0"
maintainer:   "anil@recoil.org"
authors:      ["Anil Madhavapeddy" "Thomas Gazagnaire"]
homepage:     "https://github.com/mirage/ocaml-crunch"
bug-reports:  "https://github.com/mirage/ocaml-crunch/issues"
license:      "ISC"
dev-repo: "git+https://github.com/mirage/ocaml-crunch.git"
tags:         ["org:mirage" "org:xapi-project"]
depends: [
  "ocaml" {>= "4.03.0"}
  "cmdliner"
  "ocamlfind" {build & with-test}
  "ocamlbuild" {build}
  "topkg" {build}
  "bos" {with-test}
  "cstruct" {with-test}
  "lwt" {with-test}
  "mirage-kv-lwt" {with-test & >= "1.0.0" & < "2.0.0"}
  "io-page" {<"2.0.0" & with-test}
  "io-page" {>"1.4.0"}
  "rresult" {with-test}
]
build: [
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false"]
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
    {with-test}
  ["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
synopsis: "Convert a filesystem into a static OCaml module"
url {
  src:
    "https://github.com/mirage/ocaml-crunch/releases/download/2.0.0/crunch-2.0.0.tbz"
  checksum: "md5=9764a599cbcb4ae4bce758f10d70cb8e"
}
