opam-version: "2.0"
maintainer: "Andreas Garnaes <andreas.garnaes@gmail.com>"
authors: "Andreas Garnaes <andreas.garnaes@gmail.com>"
homepage: "https://github.com/andreas/ocaml-graphql-server"
doc: "https://andreas.github.io/ocaml-graphql-server/"
bug-reports: "https://github.com/andreas/ocaml-graphql-server/issues"
dev-repo: "git+https://github.com/andreas/ocaml-graphql-server.git"

build: [
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "ocaml" {>= "4.03.0"}
  "dune" {>= "1.1"}
  "graphql_parser" {>= "0.9.0"}
  "yojson"
  "rresult"
  "seq"
  "alcotest" {with-test}
]

synopsis: "Build GraphQL schemas and execute queries against them"

description: """
`graphql` is a package for creating GraphQL servers. Current feature set includes:

- Type-safe schema design
- GraphQL parser in pure OCaml using Menhir
- Query execution
- Introspection of schemas
- Arguments for fields
- Allows variables in queries
- Subscriptions

Supporting packages:

- Use `graphql-lwt` for Lwt support.
- Use `graphql-async` for Async support.
- Use `graphql-cohttp` to run a GraphQL server with `cohttp`."""

url {
archive: "https://github.com/andreas/ocaml-graphql-server/releases/download/0.13.0/graphql-0.13.0.tbz"
checksum: "089104444ae28ebcfa85fec88628507a"
}
