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" {< "1.3.0"}
  "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: "92dc8b43a403b83bcc8372fe7d9249c797759279"
url {
  src:
    "https://github.com/mirage/ocaml-git/releases/download/3.1.1/git-3.1.1.tbz"
  checksum: [
    "sha256=0b15e29bb70edfabd4014049d902162738c4cc8e9ffbd707a595c72edff1aab9"
    "sha512=dad22e05313c4245f0ed45c632b68208cff9ad9ea1c3214ae0e32c6a945324363257679bf3760ad9d9383ae444a0371712fe8ef4f0e20181ebb42f893997bfc9"
  ]
}
