this repo has no description
1opam-version: "2.0"
2maintainer: "thomas@gazagnaire.org"
3authors: "Thomas Gazagnaire"
4license: "ISC"
5homepage: "https://github.com/mirage/ocaml-git"
6bug-reports: "https://github.com/mirage/ocaml-git/issues"
7dev-repo: "git+https://github.com/mirage/ocaml-git.git"
8doc: "https://mirage.github.io/ocaml-git/"
9
10build: [
11 [
12 "ocaml"
13 "pkg/pkg.ml"
14 "build"
15 "--pinned"
16 "%{pinned}%"
17 "--with-http"
18 "%{cohttp:installed}%"
19 "--with-unix"
20 "%{conduit+cohttp+camlzip+nocrypto+base-unix:installed}%"
21 "--with-mirage"
22 "%{mirage-http+mirage-flow+mirage-types-lwt+channel:installed}%"
23 ]
24 [
25 "ocaml"
26 "pkg/pkg.ml"
27 "build"
28 "--tests"
29 "true"
30 "--with-http"
31 "%{cohttp:installed}%"
32 "--with-unix"
33 "%{conduit+cohttp+camlzip+nocrypto+base-unix:installed}%"
34 "--with-mirage"
35 "%{mirage-http+mirage-flow+mirage-types-lwt+channel:installed}%"
36 ] {with-test}
37 ["ocaml" "pkg/pkg.ml" "test"] {with-test}
38]
39depends: [
40 "ocaml" {>= "4.02.3"}
41 "cmdliner" {< "1.0.0"}
42 "mstruct" {>= "1.3.1"}
43 "ocamlgraph"
44 "uri" {>= "1.3.12"}
45 "lwt" {>= "2.4.7"}
46 "mtime" {< "1.0.0"}
47 "logs"
48 "fmt"
49 "hex"
50 "astring"
51 "re"
52 "ocplib-endian" {>= "0.6"}
53 "alcotest" {with-test}
54 "mirage-types-lwt" {with-test & < "3.7.0"}
55 "mirage-http" {with-test}
56 "mirage-flow" {with-test & < "2.0.0"}
57 "channel" {with-test}
58 "mirage-fs-unix" {with-test & >= "1.1.4"}
59 "cohttp" {with-test}
60 "conduit" {with-test}
61 "base-unix" {with-test}
62 "camlzip" {with-test & >= "1.06"}
63 "nocrypto" {with-test}
64]
65depopts: [
66 # --enable-mirage
67 "mirage-types-lwt"
68 "mirage-http"
69 "mirage-flow"
70 "channel"
71 # --enable-unix
72 "cohttp"
73 "conduit"
74 "base-unix"
75 "camlzip"
76 "nocrypto"
77]
78conflicts: [
79 "cohttp" {< "0.19.1"}
80 "cohttp" {>= "0.99.0"}
81 "conduit" {< "0.8.4" | >= "3.0.0"}
82 "conduit" {>= "0.99"}
83 "alcotest" {< "0.4.0"}
84 "camlzip" {< "1.06"}
85 "nocrypto" {< "0.2.0"}
86 "cmdliner" {>= "1.0.0"}
87 "mirage-flow" {> "1.1.0"}
88 "cstruct" {> "3.1.1"}
89]
90synopsis: "Git format and protocol in pure OCaml"
91description: """
92Support for on-disk and in-memory Git stores. Can read and write all
93the Git objects: the usual blobs, trees, commits and tags but also
94the pack files, pack indexes and the index file (where the staging area
95lives).
96
97All the objects share a consistent API, and convenience functions are
98provided to manipulate the different objects. For instance, it is
99possible to make a pack file position independent (as the Zlib
100compression might change the relative offsets between the packed
101objects), to generate pack indexes from pack files, or to expand
102the filesystem of a given commit.
103
104The library comes with a command-line tool called `ogit` which shares
105a similar interface with `git`, but where all operations are mapped to
106the API exposed `ocaml-git` (and hence using only OCaml code).
107
108The API documentation is available
109[online](http://mirage.github.io/ocaml-git/).
110
111[](https://travis-ci.org/mirage/ocaml-git)"""
112url {
113 src:
114 "https://github.com/mirage/ocaml-git/releases/download/1.9.2/git-1.9.2.tbz"
115 checksum: [
116 "sha256=c4a079eb5159c701b948a76558e38c7646501468434d40c3b3f987f15f7672af"
117 "md5=21f45942e044efe1b7f9f592ef7b10e0"
118 ]
119}