opam-version: "2.0"

synopsis: "PPX syntax extension and library package for printing values of any type"
description: """
A PPX syntax extension and library package enabling printing of values of any type using OCaml's internal printing facilities a la toplevel evaluation.
Useful for debugging as a quick alternative to ocamldebug/ppx_deriving/#install_printer.
"""

maintainer: "progman1"
authors: [ "progman1" ]
homepage: "https://github.com/progman1/genprintlib"
bug-reports: "https://github.com/progman1/genprintlib/issues"
dev-repo: "git+https://github.com/progman1/genprintlib.git"

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

depends: [
  "ocaml" {>= "4.02.0" & < "4.09.0"}
  "dune"
  "ppxlib" {< "0.9.0"}
  "cppo" {build}
  "stdlib-shims"
]

url {
  src: "https://github.com/progman1/genprintlib/archive/v0.2.tar.gz"
  checksum: "md5=c05b2c71c1ed187ddd5aacfcdc7c9df8"
}
