depot/third_party/nixpkgs/pkgs/development/tools/ocaml/ocp-indent/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

26 lines
604 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, cmdliner }:
buildDunePackage rec {
version = "1.8.2";
pname = "ocp-indent";
useDune2 = true;
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocp-indent";
rev = version;
sha256 = "sha256-IyvURw/6R0eKrnahV1fqLV0iIeypykrmxDbliECgbLc=";
};
minimumOCamlVersion = "4.02";
buildInputs = [ cmdliner ];
meta = with lib; {
homepage = "http://typerex.ocamlpro.com/ocp-indent.html";
description = "A customizable tool to indent OCaml code";
license = licenses.gpl3;
maintainers = [ maintainers.jirkamarsik ];
};
}