Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
798 B
Nix
40 lines
798 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
cppo,
|
|
ocp-indent,
|
|
cmdliner,
|
|
re,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ocp-index";
|
|
version = "1.4.0";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OCamlPro";
|
|
repo = "ocp-index";
|
|
rev = version;
|
|
hash = "sha256-pv6aBJjRkibISpZEnlfyn72smcYEbZoPQoQH2p/JwH0=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cppo ];
|
|
buildInputs = [
|
|
cmdliner
|
|
re
|
|
];
|
|
|
|
propagatedBuildInputs = [ ocp-indent ];
|
|
|
|
meta = {
|
|
homepage = "https://www.typerex.org/ocp-index.html";
|
|
description = "Simple and light-weight documentation extractor for OCaml";
|
|
changelog = "https://github.com/OCamlPro/ocp-index/raw/${version}/CHANGES.md";
|
|
license = lib.licenses.lgpl3;
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|