# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           ocaml 1.1

name                ocaml-utop
github.setup        ocaml-community utop 2.17.0
revision            1
categories          ocaml devel editors
maintainers         nomaintainer
license             BSD
description         Universal toplevel (i.e. REPL) for OCaml
long_description    utop is an improved toplevel (i.e. Read-Eval-Print Loop) for OCaml. It can run in a terminal or in Emacs. \
                    It supports line editing, history, real-time and context sensitive completion, colors and more.

checksums           rmd160  d09f93a5710a138c3b1de03ee20112a66eb6ea67 \
                    sha256  379d1f11d58b707728a883cdbcf79582d8899eef9f8d49ada7af50d5f6d9d80d \
                    size    421273
github.tarball_from archive

depends_lib-append  port:ocaml-cppo \
                    port:ocaml-findlib \
                    port:ocaml-lambda-term \
                    port:ocaml-logs \
                    port:ocaml-lwt \
                    port:ocaml-lwt_react \
                    port:ocaml-react \
                    port:ocaml-zed \
                    port:ocaml-xdg

ocaml.build_type    dune

depends_test-append port:ocaml-alcotest

test.run            yes
