name: "ocplib-resto-directory"
version: "dev"
opam-version: "2.0"
maintainer: "Grégoire Henry <gregoire.henry@tezos.com>"
authors: "Grégoire Henry <gregoire.henry@tezos.com>"
license: "LGPL-2.1-with-OCaml-exception"
homepage: "https://github.com/OCamlPro/ocplib-resto"
bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
synopsis: "A minimal OCaml library for type-safe HTTP/JSON RPCs"

build: [
  [ "dune" "build" "-p" name "-j" jobs ]
  [ "mv" "vendors/tezos-modded/vendors/ocplib-resto/lib_resto-directory/ocplib-resto-directory.install" "." ]
]
run-test: [
  [ "dune" "runtest" "-p" name "-j" jobs ]
]

depends: [
  "ocamlfind" {build}
  "dune" {build}
  "ocplib-resto" {= "dev" }
  "ocplib-resto-json" {= "dev" & with-test }
  "lwt" { >= "3.0.0" }
]
url {
  src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}