2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchzip, ncurses, ocamlPackages }:
|
2015-02-14 09:29:41 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
with ocamlPackages; buildDunePackage rec {
|
|
|
|
pname = "ocaml-top";
|
2018-06-27 19:02:47 +00:00
|
|
|
version = "1.1.5";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
2015-02-14 09:29:41 +00:00
|
|
|
src = fetchzip {
|
2018-06-27 19:02:47 +00:00
|
|
|
url = "https://github.com/OCamlPro/ocaml-top/archive/${version}.tar.gz";
|
|
|
|
sha256 = "1d4i6aanrafgrgk4mh154k6lkwk0b6mh66rykz33awlf5pfqd8yv";
|
2015-02-14 09:29:41 +00:00
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ ncurses ocp-build lablgtk ocp-index ];
|
2015-02-14 09:29:41 +00:00
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
export TERM=xterm
|
|
|
|
ocp-build -init
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = https://www.typerex.org/ocaml-top.html;
|
2015-02-14 09:29:41 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
description = "A simple cross-platform OCaml code editor built for top-level evaluation";
|
2016-02-10 13:59:36 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
2015-02-14 09:29:41 +00:00
|
|
|
};
|
|
|
|
}
|