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.8.0"}
  "irmin" {>= "2.0.0" & < "2.2.0"}
  "index" {>= "1.2.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.1.0/irmin-2.1.0.tbz"
  checksum: [
    "sha256=af3837ddeaaabdde6c77cc46b87e8edbdef3539b1a0a8e329a0bd6b6fec928ca"
    "sha512=5bd2be34d61acf42a6c4e29f7b87fc15223ffa46546d6fb411f7519824ca8fd51f0db001787298f31c702998e73145c314b30e3e994154d0b3f63efe5f038976"
  ]
}
