opam-version: "2.0"
maintainer: "Etienne Millon <me@emillon.org>"
authors: "Etienne Millon <me@emillon.org>"
homepage: "https://github.com/emillon/gamepad_of_ocaml"
bug-reports: "https://github.com/emillon/gamepad_of_ocaml/issues"
license: "BSD-2-Clause"
dev-repo: "git+https://github.com/emillon/gamepad_of_ocaml.git"
doc: "https://emillon.github.io/gamepad_of_ocaml/doc"
build: [
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
    {with-test}
  ["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
depends: [
  "ocaml"
  "ocamlbuild" {build}
  "ocamlfind" {build}
  "topkg" {build}
  "lwt"
  "lwt_ppx"
  "js_of_ocaml-lwt" {>= "3.0" & < "3.4"}
  "js_of_ocaml" {>= "3.0" & < "3.4"}
  "js_of_ocaml-ocamlbuild" {build}
]
synopsis: "Bindings for the JS Gamepad API"
description:
  "Using this and js_of_ocaml, you can use gamepads with OCaml in your browser."
url {
  src:
    "https://github.com/emillon/gamepad_of_ocaml/releases/download/v0.2.0/gamepad-0.2.0.tbz"
  checksum: "md5=48df2644612a86a24f84e54090c68dd7"
}
