Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

33 lines
665 B
Nix

{
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 = {
homepage = "https://www.typerex.org/ocp-indent.html";
description = "Customizable tool to indent OCaml code";
mainProgram = "ocp-indent";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.jirkamarsik ];
};
}