opam-version: "2.0"
maintainer:   "Clement Pascutto"
authors:      [
   "Craig Ferguson <craig@tarides.com>"
   "Thomas Gazagnaire <thomas@tarides.com>"
   "Ioana Cristescu <ioana@tarides.com>"
   "Clément Pascutto <clement@tarides.com>"
]
license:      "MIT"
homepage:     "https://github.com/mirage/index"
bug-reports:  "https://github.com/mirage/index/issues"
dev-repo:     "git+https://github.com/mirage/index.git"
doc:          "https://mirage.github.io/index/"

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

depends: [
  "ocaml"   {>= "4.06.0" & < "4.12.0"}
  "dune"    {>= "1.11.0"}
  "fmt"
  "logs"
  "mtime"   {>= "1.0.0"}
  "alcotest" {with-test}
  "crowbar" {with-test}
  "re" {with-test}
  "stdlib-shims"
]
synopsis: "A platform-agnostic multi-level index for OCaml"
description:"""
Index is a scalable implementation of persistent indices in OCaml.

It takes an arbitrary IO implementation and user-supplied content
types and supplies a standard key-value interface for persistent
storage. Index provides instance sharing by default: each OCaml
run-time shares a common singleton instance.

Index supports multiple-reader/single-writer access. Concurrent access
is safely managed using lock files."""
url {
  src:
    "https://github.com/mirage/index/releases/download/1.2.1/index-1.2.1.tbz"
  checksum: [
    "sha256=cd80c43fd046b3d405b567eed237ad25450140e931d1eef5015ee6af74362ba9"
    "sha512=1f9a7f02309450c0c64b2b92ef1ef367b10fae65af7ff451976c8fef7c88929527e4561bea8360e9dd34af50187c816f1ab716e234d24a81b43ca718e0b52ee2"
  ]
}
