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.1.0" & < "2.2.0"}
  "irmin-mem" {>= "2.0.0" & < "2.2.0"}
  "irmin-git" {>= "2.0.0" & < "2.2.0"}
  "irmin-http" {>= "2.0.0" & < "2.2.0"}
  "irmin-fs" {>= "2.0.0" & < "2.2.0"}
  "irmin-pack" {>= "2.0.0" & < "2.2.0"}
  "irmin-graphql" {< "2.2.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.0.0" & < "2.2.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.1.0/irmin-2.1.0.tbz"
  checksum: [
    "sha256=af3837ddeaaabdde6c77cc46b87e8edbdef3539b1a0a8e329a0bd6b6fec928ca"
    "sha512=5bd2be34d61acf42a6c4e29f7b87fc15223ffa46546d6fb411f7519824ca8fd51f0db001787298f31c702998e73145c314b30e3e994154d0b3f63efe5f038976"
  ]
}
