opam-version: "2.0"
maintainer: "anil@recoil.org"
homepage: "https://github.com/avsm/ocaml-github"
dev-repo: "git+https://github.com/avsm/ocaml-github.git"
tags: [
  "org:mirage"
  "org:xapi-project"
]
build: [
  [
    "ocaml"
    "setup.ml"
    "-configure"
    "--%{base-unix:enable}%-unix"
    "--%{js_of_ocaml:enable}%-js"
    "--prefix"
    prefix
  ]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "github"]]
depends: [
  "ocaml"
  "ocamlfind"
  "ssl"
  "uri" {>= "1.5.0"}
  "cohttp" {>= "0.14.0" & < "0.18.0"}
  "lwt" {>= "2.4.3"}
  "atdgen" {>= "1.2.3"}
  "yojson" {>= "1.1.6"}
  "stringext"
  "lambda-term" {< "2.0"}
  "cmdliner"
  "ocamlbuild" {build}
  "camlp4" {build}
]
depopts: [
  "js_of_ocaml"
]
conflicts: [
  "js_of_ocaml" {<"2.4.0"}
  "js_of_ocaml" {>= "3.0"}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "GitHub APIv3 client bindings"
flags: light-uninstall
url {
  src: "https://github.com/avsm/ocaml-github/archive/v0.9.4.tar.gz"
  checksum: "md5=bfdd83f8d2a2c1e57f4ffd41ea755bc0"
}
