opam-version: "2.0"
maintainer:   "thomas@gazagnaire.org"
authors:      ["Thomas Gazagnaire"]
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"

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

depends: [
  "ocaml"      {>= "4.02.3"}
  "dune"       {>= "1.1.0"}
  "irmin" {>= "2.0.0" & < "2.2.0"}
  "index" {>= "1.0.0" & < "1.3.0"}
  "lwt"
  "irmin-test" {with-test & >= "2.0.0" & < "2.2.0"}
  "alcotest-lwt" {with-test}
]

synopsis: "Irmin backend which stores values in a pack file"
url {
  src:
    "https://github.com/mirage/irmin/releases/download/2.0.0/irmin-2.0.0.tbz"
  checksum: [
    "sha256=b90957bf1b03488447105659694b2fab234f256c8b721fe11b35fb12df760e27"
    "sha512=68e7a772f46c4b93779b4d9e234b60c71b04b7b72f6f8f528e402caa78d5576c1aa92836cf6a940611e3729b6b48d0a6de93c40aec1dcea5c46937f8b3b4331e"
  ]
}
