ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
26 lines
604 B
Nix
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 ];
|
|
};
|
|
}
|