opam-version: "2.0"
maintainer: "jeremie@dimino.org"
authors: ["Jérémie Dimino"]
homepage: "https://github.com/ocaml-community/utop"
license: "BSD-3-Clause"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
remove: [["ocamlfind" "remove" "utop"]]
depends: [
  "ocaml" {>= "4.00" & < "4.01"}
  "ocamlfind" {< "1.5.6"}
  "lambda-term" {>= "1.2" & < "2.0"}
  "lwt"
  "react" {>= "1.0.0"}
  "camlp4"
  "ocamlbuild" {build}
]
bug-reports: "https://github.com/ocaml-community/utop/issues"
dev-repo: "git://github.com/ocaml-community/utop.git"
install: [[make "install"]]
synopsis: "Universal toplevel for OCaml"
description: """
utop is an improved toplevel for OCaml. It can run in a terminal or in
Emacs. It supports line edition, history, real-time and context
sensitive completion, colors, and more.

It integrates with the tuareg mode in Emacs."""
flags: light-uninstall
extra-files: ["utop.install" "md5=706ad83234dd0b1d24961a8d9b6bac50"]
url {
  src: "https://github.com/ocaml-community/utop/archive/1.15.tar.gz"
  checksum: "md5=8bd0e2d4687699de54fe03a0fcdd0081"
}
