opam-version: "2.0"
synopsis: "Git format and protocol in pure OCaml"
description: """\
Support for on-disk and in-memory Git stores. Can read and write all
the Git objects: the usual blobs, trees, commits and tags but also
the pack files, pack indexes and the index file (where the staging area
lives).

All the objects share a consistent API, and convenience functions are
provided to manipulate the different objects."""
maintainer: ["thomas@gazagnaire.org" "romain.calascibetta@gmail.com"]
authors: "Thomas Gazagnaire"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-git"
doc: "https://mirage.github.io/ocaml-git/"
bug-reports: "https://github.com/mirage/ocaml-git/issues"
depends: [
  "ocaml" {>= "4.07.0"}
  "dune" {>= "2.6.0"}
  "digestif" {>= "0.8.1"}
  "stdlib-shims"
  "rresult"
  "result"
  "bigarray-compat"
  "bigstringaf"
  "optint"
  "decompress"
  "logs"
  "lwt"
  "mimic"
  "cstruct" {>= "5.0.0"}
  "angstrom" {>= "0.14.0"}
  "carton" {< "0.2.0"}
  "carton-lwt" {< "0.2.0"}
  "carton-git" {< "0.2.0"}
  "ke" {>= "0.4"}
  "fmt" {>= "0.8.7"}
  "checkseum" {>= "0.2.1"}
  "ocamlgraph" {>= "1.8.8"}
  "astring"
  "fpath"
  "encore" {>= "0.7"}
  "alcotest" {with-test & >= "1.1.0"}
  "alcotest-lwt" {with-test & >= "1.1.0"}
  "mirage-crypto-rng" {with-test & >= "0.8.0"}
  "cmdliner" {with-test}
  "base-unix" {with-test}
  "fpath"
  "base64" {with-test & >= "3.0.0"}
  "mirage-flow" {>= "2.0.1"}
  "domain-name" {>= "0.3.0"}
  "emile" {>= "1.1"}
  "ipaddr" {>= "5.0.1"}
  "psq" {>= "0.2.0"}
  "uri" {>= "4.1.0"}
  "crowbar" {>= "0.2" & with-test}
]
build: [
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name] {with-test}
]
dev-repo: "git+https://github.com/mirage/ocaml-git.git"
x-commit-hash: "5d8ac12dd9b2417d0d6256ba9f5dd683271f33fd"
url {
  src:
    "https://github.com/mirage/ocaml-git/releases/download/3.0.0/git-3.0.0.tbz"
  checksum: [
    "sha256=47fe1b1c9ead6ff2dc12c5cb365fdbe1151c0478a15a137ba710fd316af88f54"
    "sha512=451687a8a4bd4149afb4d68941998d700858d56b4fe3d9247efd1ef301b0bb15c5b11fd2fa01ff4226a0f58a31d1e68fe462952513f65f9cf9a3caa581b92c0a"
  ]
}
