depot/third_party/nixpkgs/pkgs/development/tools/ocaml/ocp-indent/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

27 lines
650 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 = "A customizable tool to indent OCaml code";
license = licenses.gpl3;
maintainers = [ maintainers.jirkamarsik ];
};
}