-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
44 lines (40 loc) · 1.58 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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" {>= "1.0+beta7"}
"angstrom" {>= "0.7.0" & < "0.14.0"}
"sexplib"
"ppx_sexp_conv" {>= "v0.9.0"}
"alcotest" {with-test}
"ocaml-migrate-parsetree" {< "2.0.0"}
]
synopsis: "Servers in OCaml"
description: """
![Build Status](https://travis-ci.org/andreas/ocaml-graphql-server.svg?branch=master)
This repo contains a library for creating GraphQL servers in OCaml. Note that the API is still under active development.
Current feature set:
- [x] Type-safe schema design
- [x] GraphQL parser in pure OCaml using [angstrom](https://github.com/inhabitedtype/angstrom) (April 2016 RFC draft)
- [x] Query execution
- [x] Introspection of schemas
- [x] Arguments for fields
- [x] Allows variables in queries
- [x] Lwt support
- [x] Async support
- [x] Example with HTTP server and GraphiQL
![GraphiQL Example](https://cloud.githubusercontent.com/assets/2518/22173954/8d1e5bbe-dfd1-11e6-9a7e-4f93d0ce2e24.png)"""
url {
src:
"https://github.com/andreas/ocaml-graphql-server/releases/download/0.5.0/graphql-0.5.0.tbz"
checksum: "md5=b1a640ec1ddc50812deabdced411e0fc"
}