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

28 lines
680 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, cmdliner, findlib }:
buildDunePackage rec {
version = "1.8.2";
pname = "ocp-indent";
duneVersion = "3";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocp-indent";
rev = version;
sha256 = "sha256-IyvURw/6R0eKrnahV1fqLV0iIeypykrmxDbliECgbLc=";
};
minimalOCamlVersion = "4.03";
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 ];
};
}