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 "crc" {<= "1.0.0"}
53 "ocplib-endian" {>= "0.6"}
54 "alcotest" {with-test}
55 "mirage-types-lwt" {with-test & < "3.7.0"}
56 "mirage-http" {with-test}
57 "mirage-flow" {with-test & < "2.0.0"}
58 "channel" {with-test}
59 "mirage-fs-unix" {with-test & >= "1.1.4"}
60 "cohttp" {with-test}
61 "conduit" {with-test}
62 "base-unix" {with-test}
63 "camlzip" {with-test & >= "1.06"}
64 "nocrypto" {with-test}
65]
66depopts: [
67 # --enable-mirage
68 "mirage-types-lwt"
69 "mirage-http"
70 "mirage-flow"
71 "channel"
72 # --enable-unix
73 "cohttp"
74 "conduit"
75 "base-unix"
76 "camlzip"
77 "nocrypto"
78]
79conflicts: [
80 "cohttp" {< "0.19.1"}
81 "cohttp" {>= "0.99.0"}
82 "conduit" {< "0.8.4" | >= "3.0.0"}
83 "conduit" {>= "0.99"}
84 "alcotest" {< "0.4.0"}
85 "camlzip" {< "1.05"}
86 "nocrypto" {< "0.2.0"}
87 "camlzip" {< "1.06"}
88 "mirage-fs-unix" {<"1.1.4"}
89 "cmdliner" {>= "1.0.0"}
90 "mirage-flow" {> "1.1.0"}
91 "cstruct" {> "3.1.1"}
92]
93synopsis: "Git format and protocol in pure OCaml"
94description: """
95Support for on-disk and in-memory Git stores. Can read and write all
96the Git objects: the usual blobs, trees, commits and tags but also
97the pack files, pack indexes and the index file (where the staging area
98lives).
99
100All the objects share a consistent API, and convenience functions are
101provided to manipulate the different objects. For instance, it is
102possible to make a pack file position independent (as the Zlib
103compression might change the relative offsets between the packed
104objects), to generate pack indexes from pack files, or to expand
105the filesystem of a given commit.
106
107The library comes with a command-line tool called `ogit` which shares
108a similar interface with `git`, but where all operations are mapped to
109the API exposed `ocaml-git` (and hence using only OCaml code).
110
111The API documentation is available
112[online](http://mirage.github.io/ocaml-git/).
113
114[](https://travis-ci.org/mirage/ocaml-git)"""
115url {
116 src:
117 "https://github.com/mirage/ocaml-git/releases/download/1.9.0/git-1.9.0.tbz"
118 checksum: [
119 "sha256=83d5885e01879b79465c46fd6b3a84bee25ddba2ab99d73c994c0d0691c5eeb8"
120 "md5=43b5fc463eed0d021b764ca08205f392"
121 ]
122}