Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
667 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
fetchFromGitHub,
buildDunePackage,
cmdliner,
findlib,
}:
buildDunePackage rec {
version = "1.9.0";
pname = "ocp-indent";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocp-indent";
tag = version;
hash = "sha256-71dbZ8c842MYZfHad6RT0E48JlgzJSHnQgLVA5dGLv8=";
};
minimalOCamlVersion = "4.08";
buildInputs = [ cmdliner ];
propagatedBuildInputs = [ findlib ];
meta = with lib; {
homepage = "https://www.typerex.org/ocp-indent.html";
description = "Customizable tool to indent OCaml code";
mainProgram = "ocp-indent";
license = licenses.gpl3;
maintainers = [ maintainers.jirkamarsik ];
};
}