opam-version: "2.0"
maintainer:   "thomas@gazagnaire.org"
authors:      ["Thomas Gazagnaire" "Thomas Leonard"]
license:      "ISC"
homepage:     "https://github.com/mirage/irmin"
bug-reports:  "https://github.com/mirage/irmin/issues"
dev-repo:     "git+https://github.com/mirage/irmin.git"
doc:          "https://mirage.github.io/irmin/"

build: [
 ["dune" "subst"] {pinned}
 ["dune" "build" "-p" name "-j" jobs]
# ["dune" "runtest" "-p" name] {with-test}
]

depends: [
  "ocaml"         {>= "4.01.0"}
  "dune"          {>= "1.8.0"}
  "irmin" {>= "2.2.0" & < "2.3.0"}
  "irmin-mem" {>= "2.2.0" & < "2.3.0"}
  "irmin-git" {>= "2.2.0" & < "2.3.0"}
  "irmin-http" {>= "2.2.0" & < "2.3.0"}
  "irmin-fs" {>= "2.2.0" & < "2.3.0"}
  "irmin-pack" {>= "2.2.0" & < "2.3.0"}
  "irmin-graphql" {>= "2.2.0" & < "2.3.0"}
  "git-unix"      {>= "1.11.4" & < "3.0.0"}
  "digestif"      {>= "0.6.1"}
  "irmin-watcher" {>= "0.2.0"}
  "yaml"          {>= "0.1.0"}
#  "irmin-test" {with-test & >= "2.2.0" & < "2.3.0"}
]

synopsis: "Unix backends for Irmin"
description: """
`Irmin_unix` defines Unix backends (including Git and HTTP) for Irmin, as well
as a very simple CLI tool (called `irmin`) to manipulate and inspect Irmin
stores.
"""
url {
  src:
    "https://github.com/mirage/irmin/releases/download/2.2.0/irmin-2.2.0.tbz"
  checksum: [
    "sha256=a44e018495336e0f632433fcae7b4e84699938a7110212da9e3818b35048fc3f"
    "sha512=8dd9e9f09877a5541ee1be3387e041f63e6b522f9efac388d72199f965b0692f2502e93c1ddc2a5f959289fa2f75f06849582cffbcc201de19e9bd50413f6115"
  ]
}
