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: [
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
  "ocaml" {>= "4.03.0"}
  "jbuilder"
  "graphql_parser" {< "0.9.0"}
  "yojson"
  "rresult"
  "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 [angstrom](https://github.com/inhabitedtype/angstrom) (April 2016 RFC draft)
- Query execution
- Introspection of schemas
- Arguments for fields
- Allows variables in queries

Use `graphql-lwt` for Lwt support, or `graphql-async` for Async support."""
url {
  src:
    "https://github.com/andreas/ocaml-graphql-server/releases/download/0.7.0/graphql-0.7.0.tbz"
  checksum: "md5=51eed76a0a389b1810d4af2cf1b499db"
}
