depot/third_party/nixpkgs/pkgs/development/tools/ocaml/ocaml-top/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
692 B
Nix

{ lib, fetchFromGitHub, ocamlPackages }:
let
inherit (ocamlPackages) buildDunePackage lablgtk3-sourceview3 ocp-index;
in
buildDunePackage rec {
pname = "ocaml-top";
version = "1.2.0";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocaml-top";
rev = version;
hash = "sha256-xmPGGB/zUpfeAxUIhR1PhfoESAJq7sTpqHuf++EH3Lw=";
};
buildInputs = [ lablgtk3-sourceview3 ocp-index ];
meta = {
homepage = "https://www.typerex.org/ocaml-top.html";
license = lib.licenses.gpl3;
description = "Simple cross-platform OCaml code editor built for top-level evaluation";
mainProgram = "ocaml-top";
maintainers = with lib.maintainers; [ vbgl ];
};
}