opam-version: "2.0"
maintainer: "dev@ocsigen.org"
build: [
  [
    "ocaml"
    "setup.ml"
    "-configure"
    "--prefix"
    prefix
    "--%{type_conv:enable}%-tc"
  ]
  [make]
]
remove: [["ocamlfind" "remove" "deriving"]]
depends: [
  "ocaml" {<= "4.01.0"}
  "ocamlfind"
  "optcomp" {>= "1.6"}
  "camlp4"
  "ocamlbuild" {build}
  "num"
]
depopts: ["type_conv"]
conflicts: ["type_conv" {< "108.07.00"}]
install: [make "install"]
synopsis: "Extension to OCaml for deriving functions from type declarations"
flags: light-uninstall
url {
  src: "http://ocsigen.org/download/deriving-0.6.2.tar.gz"
  checksum: "md5=8f3721a28a781fef5e516c386fa99404"
}
