opam-version: "2.0"
maintainer: "Xavier Guérin <github@applepine.org>"
authors: "Xavier Guérin <github@applepine.org>"
homepage: "https://github.com/xguerin/ppx_bitstring"
bug-reports: "https://github.com/xguerin/ppx_bitstring/issues"
dev-repo: "git+https://github.com/xguerin/ppx_bitstring.git"
license: "ISC"
build: [
  [
    "ocaml"
    "setup.ml"
    "-configure"
    "--prefix"
    prefix
    "--%{ounit:enable}%-tests"
  ]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-test"] {with-test}
]
install: [
  ["ocaml" "setup.ml" "-install"]
]
remove: ["ocamlfind" "remove" "ppx_bitstring"]
depends: [
  "ocaml" {>= "4.03" & < "4.04"}
  "bitstring" {build & < "3.0.0"}
  "core" {build & < "v0.15"}
  "ocamlbuild" {build}
  "ocamlfind" {build}
  "ppx_tools"
  "ounit" {build}
]
synopsis: "PPX extension for the bitstring library."
flags: light-uninstall
url {
  src: "https://github.com/xguerin/ppx_bitstring/archive/v1.2.0.tar.gz"
  checksum: "md5=0d39ebed5c45704aa8c5095e29347357"
}
