52 lines
1.6 KiB
Plaintext
Generated
52 lines
1.6 KiB
Plaintext
Generated
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"
|
|
license: "MIT"
|
|
|
|
build: [
|
|
["dune" "build" "-p" name "-j" jobs]
|
|
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
|
]
|
|
|
|
depends: [
|
|
"ocaml" {>= "4.08.0"}
|
|
"dune" {>= "1.11"}
|
|
"graphql_parser" {>= "0.9.0"}
|
|
"yojson" {>= "1.6.0"}
|
|
"rresult" {>= "0.3.0"}
|
|
"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 [angstrom](https://github.com/inhabitedtype/angstrom) (April 2016 RFC draft)
|
|
- 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 {
|
|
src:
|
|
"https://github.com/andreas/ocaml-graphql-server/releases/download/0.14.0/graphql-0.14.0.tbz"
|
|
checksum: [
|
|
"sha256=bf8bf5b9e17e355ecbbd82158a769fe2b138e746753fd3a23008ada3afcd1c06"
|
|
"sha512=1d303d9ab67faecea8081f007b3696e36033aa65eba0854f50067b4d667d9a9ad185ad949371790a03509cb31bf6356b75c58f3066da9c35d82e620df5780185"
|
|
]
|
|
}
|
|
x-commit-hash: "79e01a09d08b0de3b3fff8195e19f7d8ab566498"
|