opam-version: "2.0"
authors: "Vincent Bernardoff <vb@luminar.eu.org>"
maintainer: "contact@tezos.com"
license: "ISC"
synopsis: "Legacy Tezos OCaml binding to LMDB (Consider ocaml-lmdb instead)"
homepage: "https://gitlab.com/tezos/tezos"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
build: [
  ["dune" "build" "-j" jobs "-p" name "@install"]
  ["mv" "vendors/ocaml-lmdb/%{name}%.install" "./"]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
  "tezos-tooling" { with-test & = version }
  "dune" {>= "1.11"}
  "rresult" {>= "0.5.0"}
  "cstruct" {with-test & >= "3.2.1"}
  "alcotest" {with-test & >= "0.8.1"}
]

url {
  src: "https://gitlab.com/tezos/tezos/-/archive/v7.0/tezos-v7.0.tar.bz2"
  checksum: [
    "sha256=aeb9b56c9c6dc1b7fc1ecb3aa81607b11ba3939350a72f9586ba62bbd16c0c91"
    "sha512=f3ab3dbffd49ec1ddb6db01433c3c3a8900f6b134188907f53b22f2ccb3bd0b9f36ed8a6547403e80aa7fe4a0ac177a9fdb78459194fe3acd8c445a744be2ad5"
  ]
}
