opam-version: "2.0"
synopsis: "Virtual package to install and configure ocaml-git's Unix backend"
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"}
  "mmap" {>= "1.1.0"}
  "stdlib-shims"
  "git" {= version}
  "rresult"
  "result"
  "bigarray-compat"
  "bigstringaf"
  "fmt" {>= "0.8.7"}
  "bos"
  "fpath"
  "uri" {with-test}
  "digestif" {>= "0.8.1"}
  "logs"
  "lwt"
  "base-unix"
  "alcotest" {with-test & >= "1.1.0"}
  "alcotest-lwt" {with-test & >= "1.1.0"}
  "base64" {with-test & >= "3.0.0"}
  "git-cohttp-unix" {= version}
  "mirage-clock"
  "mirage-clock-unix"
  "astring" {>= "0.8.5"}
  "awa"
  "cmdliner" {>= "1.0.4"}
  "cohttp-lwt-unix" {>= "2.5.4"}
  "decompress" {>= "1.2.0" & < "1.3.0"}
  "domain-name" {>= "0.3.0"}
  "ipaddr" {>= "5.0.1"}
  "mtime" {>= "1.2.0"}
  "ocamlfind" {>= "1.8.1"}
  "tcpip" {>= "6.0.0"}
  "cstruct" {>= "6.0.0" & with-test}
  "awa-mirage"
  "mirage-flow" {>= "2.0.1"}
  "ke" {>= "0.4" & with-test}
  "mirage-crypto-rng" {>= "0.8.8" & with-test}
  "ocurl" {>= "0.9.1" & with-test}
]
build: [
  ["dune" "subst"]
  ["dune" "build" "-p" name "-j" jobs]
  # ["dune" "runtest" "-p" name "-j1" "--no-buffer"] {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"
  ]
}
