-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
70 lines (65 loc) · 2.26 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
opam-version: "2.0"
maintainer: "sheets@alum.mit.edu"
authors: [
"Anil Madhavapeddy"
"David Sheets"
"Andy Ray"
"Jeff Hammerbacher"
"Thomas Gazagnaire"
"Rudi Grinberg"
"Qi Li"
"Jeremy Yallop"
"Dave Tucker"
]
homepage: "https://github.com/mirage/ocaml-github"
bug-reports: "https://github.com/mirage/ocaml-github/issues"
dev-repo: "git+https://github.com/mirage/ocaml-github.git"
doc: "https://mirage.github.io/ocaml-github/"
tags: [
"org:mirage"
"org:xapi-project"
"git"
]
build: [
["jbuilder" "subst" "-p" name] {dev}
["jbuilder" "build" "-p" name "-j" jobs]
["jbuilder" "runtest" "-p" name] {with-test}
]
depends: [
"ocaml" {>= "4.03.0"}
"jbuilder" {>= "1.0+beta10"}
"uri" {>= "1.9.0"}
"cohttp" {>= "0.99.0"}
"cohttp-lwt" {>= "0.99"}
"lwt" {>= "2.4.4"}
"atdgen" {>= "1.10.0" & < "1.13.0"}
"yojson" {>= "1.2.0"}
"stringext"
]
synopsis: "GitHub APIv3 OCaml Library"
description: """
[![Build Status](https://travis-ci.org/mirage/ocaml-github.svg)](https://travis-ci.org/mirage/ocaml-github)
[![docs](https://img.shields.io/badge/doc-online-blue.svg)](https://mirage.github.io/ocaml-github/)
This library provides an OCaml interface to the [GitHub
APIv3](https://developer.github.com/v3/) (JSON). It is compatible with
[MirageOS](https://mirage.io) and also compiles to pure JavaScript via
[js_of_ocaml](http://ocsigen.org/js_of_ocaml).
It is [not yet complete](#api-support-coverage) but
[lib/github.atd](https://github.com/mirage/ocaml-github/blob/master/lib/github.atd)
contains the data types that have been bound so far.
There are several tests and examples in
[lib_test](https://github.com/mirage/ocaml-github/tree/master/lib_test)
for small bits of
functionality. [jar](https://github.com/mirage/ocaml-github/tree/master/jar)
contains utility programs that use the [git jar](#git-jar) facility for
stored tokens.
If you are interested in easily using this library to listen for GitHub
web hook events, you should look at [dsheets/ocaml-github-hooks](https://github.com/dsheets/ocaml-github-hooks)."""
url {
src:
"https://github.com/mirage/ocaml-github/releases/download/3.1.0/github-3.1.0.tbz"
checksum: [
"sha256=8b742638d926ad4c469ed3d7ed85f811fcf38a42bebd9e57d2a036d3ca2bf8f9"
"md5=111940cd797b1a4c621be2a8077e706f"
]
}