opam-version: "2.0"
authors: [ "Nomadic Labs <contact@nomadic-labs.com>" ]
maintainer: "Nomadic Labs <contact@nomadic-labs.com>"
synopsis: "OCaml library for the Sapling protocol, using librustzcash"
homepage: "https://gitlab.com/nomadic-labs/tezos"
bug-reports: "https://gitlab.com/tezos/nomadic-labs/issues"
dev-repo: "git+https://gitlab.com/nomadic-labs/tezos.git"
license: "MIT"
depends: [
  "dune" {>= "2.0"}
  "tezos-crypto" { = version }
  "alcotest-lwt" { with-test & >= "1.1.0" }
]
build: [
  ["rm" "-r" "vendors"]
  ["dune" "build" "-p" name "-j" jobs]
  ["mv" "src/lib_sapling/%{name}%.install" "./"]
#  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
#  requires the "zcash-params" files
]

url {
  src: "https://gitlab.com/tezos/tezos/-/archive/v8.2/tezos-v8.2.tar.bz2"
  checksum: [
    "sha256=6b3e3089524d177f0ace38f5053145b22f050e9ba7020548c6052b221b33c3af"
    "sha512=eca32c8c8cad1f17887769e984ff6fd3c839bebdde43df1e435d31e0ff64acc17d3695a8f73e094422197aadcd461967860584a868099b4464b18bb51829cc73"
  ]
}
