1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 16:46:09 +00:00
nixpkgs/pkgs/development/tools/ocaml/ocaml-top/default.nix

26 lines
700 B
Nix
Raw Normal View History

2019-12-08 07:23:58 +00:00
{ lib, fetchzip, ncurses, ocamlPackages }:
with ocamlPackages; buildDunePackage rec {
pname = "ocaml-top";
2019-12-08 07:23:58 +00:00
version = "1.2.0-rc";
src = fetchzip {
2018-06-27 20:02:47 +01:00
url = "https://github.com/OCamlPro/ocaml-top/archive/${version}.tar.gz";
2019-12-08 07:23:58 +00:00
sha256 = "1r290m9vvr25lgaanivz05h0kf4fd3h5j61wj4hpp669zffcyyb5";
};
2019-12-08 07:23:58 +00:00
buildInputs = [ ncurses ocp-build lablgtk3-sourceview3 ocp-index ];
configurePhase = ''
export TERM=xterm
ocp-build -init
'';
meta = {
homepage = "https://www.typerex.org/ocaml-top.html";
2019-12-08 07:23:58 +00:00
license = lib.licenses.gpl3;
description = "A simple cross-platform OCaml code editor built for top-level evaluation";
2019-12-08 07:23:58 +00:00
maintainers = with lib.maintainers; [ vbgl ];
};
}