ocamlPackages.ocp-browser: init at 1.4.0
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildDunePackage,
|
||||
cppo,
|
||||
ocp-index,
|
||||
cmdliner,
|
||||
re,
|
||||
lambda-term,
|
||||
zed,
|
||||
}:
|
||||
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "ocp-browser";
|
||||
version = "1.4.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OCamlPro";
|
||||
repo = "ocp-index";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-pv6aBJjRkibISpZEnlfyn72smcYEbZoPQoQH2p/JwH0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cppo ];
|
||||
propagatedBuildInputs = [
|
||||
cmdliner
|
||||
lambda-term
|
||||
ocp-index
|
||||
re
|
||||
zed
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/OCamlPro/ocp-index";
|
||||
description = "Console browser for the documentation of installed OCaml libraries";
|
||||
changelog = "https://github.com/OCamlPro/ocp-index/raw/${finalAttrs.version}/CHANGES.md";
|
||||
license = lib.licenses.lgpl3;
|
||||
maintainers = with lib.maintainers; [ redianthus ];
|
||||
mainProgram = "ocp-browser";
|
||||
};
|
||||
})
|
||||
@@ -1499,6 +1499,8 @@ let
|
||||
|
||||
ocolor = callPackage ../development/ocaml-modules/ocolor { };
|
||||
|
||||
ocp-browser = callPackage ../development/tools/ocaml/ocp-browser { };
|
||||
|
||||
ocp-build = callPackage ../development/tools/ocaml/ocp-build { };
|
||||
|
||||
ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };
|
||||
|
||||
Reference in New Issue
Block a user