opam-version: "2.0"
maintainer:   "e@x80.org"
homepage:     "https://github.com/ejgallego/coq-serapi"
bug-reports:  "https://github.com/ejgallego/coq-serapi/issues"
dev-repo:     "git+https://github.com/ejgallego/coq-serapi.git"
license:      "GPL-3.0-or-later"
doc:          "https://ejgallego.github.io/coq-serapi/"

synopsis:     "Serialization library and protocol for machine interaction with the Coq proof assistant"
description:  """
SerAPI is a library for machine-to-machine interaction with the
Coq proof assistant, with particular emphasis on applications in IDEs,
code analysis tools, and machine learning. SerAPI provides automatic
serialization of Coq's internal OCaml datatypes from/to JSON or
S-expressions (sexps).
"""

authors: [
  "Emilio Jesús Gallego Arias"
  "Karl Palmskog"
  "Clément Pit-Claudel"
  "Kaiyu Yang"
]

depends: [
  "ocaml"               {           >= "4.07.0"            }
  "coq"                 {           >= "8.10.0" & < "8.11" }
  "cmdliner"            {           >= "1.0.0"             }
  "ocamlfind"           {           >= "1.8.0"             }
  "sexplib"             {           >= "v0.11.0"           }
  "dune"                {           >= "1.4.0"             }
  "ppx_import"          { build   & >= "1.5-3"             }
  "ppx_deriving"        {           >= "4.2.1"             }
  "ppx_sexp_conv"       {           >= "v0.11.0"           }
  "yojson"              {           >= "1.7.0"             }
  "ppx_deriving_yojson" {           >= "3.4"               }
]

build: [ "dune" "build" "-p" name "-j" jobs ]
url {
  src:
    "https://github.com/ejgallego/coq-serapi/releases/download/8.10.0%2B0.7.2/coq-serapi-8.10.0.0.7.2.tbz"
  checksum: [
    "sha256=39018932b0520cc042246a3f9e03f3788d1aaff65568b480d8681cba235032e9"
    "sha512=62a3bb3950e5f9d9cfa5fca85a1108a04fd8c1833cba560ff9d52246ef96d3d61a4743e6dc6d52f53c6a495040fad53f1d9aae383609227a6eb84568ad2a1a6c"
  ]
}
