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.1.0"}
  "irmin" {>= "2.0.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.0.0/irmin-2.0.0.tbz"
  checksum: [
    "sha256=b90957bf1b03488447105659694b2fab234f256c8b721fe11b35fb12df760e27"
    "sha512=68e7a772f46c4b93779b4d9e234b60c71b04b7b72f6f8f528e402caa78d5576c1aa92836cf6a940611e3729b6b48d0a6de93c40aec1dcea5c46937f8b3b4331e"
  ]
}
