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"
dev-repo: "git+https://github.com/xguerin/ppx_bitstring.git"
bug-reports: "https://github.com/xguerin/ppx_bitstring/issues"
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"]
]
depends: [
  "ocaml" {>= "4.03" & < "4.04"}
  "bitstring" {build & < "3.0.0"}
  "ocamlbuild" {build}
  "ocamlfind" {build}
  "ppx_tools"
  "ppx_driver" {build & < "v0.9.0"}
  "ppx_core" {build}
  "ounit" {build}
  "js-build-tools" {build}
]
remove: ["ocamlfind" "remove" "ppx_bitstring"]
synopsis: "PPX extension for the bitstring library."
flags: light-uninstall
url {
  src: "https://github.com/xguerin/ppx_bitstring/archive/v1.3.0.tar.gz"
  checksum: "md5=d53dd3c69b15d62bcba60775a9044615"
}
