2023-11-16 04:20:00 +00:00
|
|
|
{ lib, fetchFromGitHub, ocamlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
let
|
|
|
|
inherit (ocamlPackages) buildDunePackage lablgtk3-sourceview3 ocp-index;
|
|
|
|
in
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ocaml-top";
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "1.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OCamlPro";
|
|
|
|
repo = "ocaml-top";
|
|
|
|
rev = version;
|
2023-02-16 17:41:37 +00:00
|
|
|
hash = "sha256-xmPGGB/zUpfeAxUIhR1PhfoESAJq7sTpqHuf++EH3Lw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
buildInputs = [ lablgtk3-sourceview3 ocp-index ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://www.typerex.org/ocaml-top.html";
|
|
|
|
license = lib.licenses.gpl3;
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple cross-platform OCaml code editor built for top-level evaluation";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ocaml-top";
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|