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"
8build: [
9 [
10 "./configure"
11 "--prefix"
12 prefix
13 "--%{mirage-http+mirage-flow+mirage-types-lwt+channel:enable}%-mirage"
14 "--%{conduit+cohttp+camlzip+nocrypto+base-unix:enable}%-unix"
15 ]
16 [make]
17 ["./configure" "--enable-tests" "--enable-mirage" "--enable-unix"]
18 {with-test}
19 [make "test"] {with-test}
20]
21install: [make "install"]
22remove: ["ocamlfind" "remove" "git"]
23depends: [
24 "ocaml" {>= "4.01.0"}
25 "cmdliner" {< "1.0.0"}
26 "mstruct" {>= "1.3.1"}
27 "ocamlgraph"
28 "uri" {>= "1.3.12"}
29 "lwt" {>= "2.4.7"}
30 "mtime" {< "1.0.0"}
31 "logs"
32 "fmt"
33 "hex"
34 "astring"
35 "crc" {<= "1.0.0"}
36 "ocplib-endian"
37 "alcotest" {with-test}
38 "mirage-types-lwt" {with-test & < "3.7.0"}
39 "mirage-http" {with-test}
40 "mirage-flow" {with-test & < "2.0.0"}
41 "channel" {with-test}
42 "mirage-fs-unix" {with-test & >= "1.1.4"}
43 "cohttp" {with-test}
44 "conduit" {with-test}
45 "base-unix" {with-test}
46 "camlzip" {with-test}
47 "nocrypto" {with-test}
48]
49depopts: [
50 # --enable-mirage
51 "mirage-types-lwt"
52 "mirage-http"
53 "mirage-flow"
54 "channel"
55 # --enable-unix
56 "cohttp"
57 "conduit"
58 "base-unix"
59 "camlzip"
60 "nocrypto"
61]
62conflicts: [
63 "cohttp" {< "0.19.1"}
64 "cohttp" {>= "0.99.0"}
65 "conduit" {< "0.8.4" | >= "3.0.0"}
66 "conduit" {>= "0.99"}
67 "alcotest" {< "0.4.0"}
68 "camlzip" {< "1.05"}
69 "nocrypto" {< "0.2.0"}
70 "mirage-flow" {> "1.1.0"}
71 "cstruct" {> "3.1.1"}
72]
73synopsis: "Git format and protocol in pure OCaml"
74description: """
75Support for on-disk and in-memory Git stores. Can read and write all
76the Git objects: the usual blobs, trees, commits and tags but also the
77pack files, pack indexes and the index file (where the staging area
78lives).
79
80All the objects share a consistent API, and convenience functions are
81provided to manipulate the different objects. For instance, it is
82possible to make a pack file position independant (as the Zlib
83compression might change the relative offsets between the packed
84objects), to generate pack indexes from pack files, or to expand
85the filesystem of a given commit.
86
87The library comes with a command-line tool called `ogit` which shares
88a similar interface with `git`, but where all operations are mapped to
89the API exposed `ocaml-git` (and hence using only OCaml code)."""
90flags: light-uninstall
91url {
92 src: "https://github.com/mirage/ocaml-git/archive/1.8.0.tar.gz"
93 checksum: [
94 "sha256=faa4673ecb5695c72577896cbb6817a678e978ab4b3d2e38b72b7a1e6ac7dcdc"
95 "md5=15565eb2875b3c1d37875f3b2a1da753"
96 ]
97}