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 "mirage-flow" {> "1.1.0"}
87 "cstruct" {> "3.1.1"}
88]
89synopsis: "Git format and protocol in pure OCaml"
90description: """
91Support for on-disk and in-memory Git stores. Can read and write all
92the Git objects: the usual blobs, trees, commits and tags but also
93the pack files, pack indexes and the index file (where the staging area
94lives).
95
96All the objects share a consistent API, and convenience functions are
97provided to manipulate the different objects. For instance, it is
98possible to make a pack file position independent (as the Zlib
99compression might change the relative offsets between the packed
100objects), to generate pack indexes from pack files, or to expand
101the filesystem of a given commit.
102
103The library comes with a command-line tool called `ogit` which shares
104a similar interface with `git`, but where all operations are mapped to
105the API exposed `ocaml-git` (and hence using only OCaml code).
106
107The API documentation is available
108[online](http://mirage.github.io/ocaml-git/).
109
110[](https://travis-ci.org/mirage/ocaml-git)"""
111url {
112 src:
113 "https://github.com/mirage/ocaml-git/releases/download/1.9.3/git-1.9.3.tbz"
114 checksum: [
115 "sha256=ecba59949821cec147a2ad9475bea23c69aa39d71c1095919c8f77c802ffa3f2"
116 "md5=07c7fc074023e794abb76806b176970d"
117 ]
118}