2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchzip, buildDunePackage, cmdliner }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.8.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ocp-indent";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/OCamlPro/ocp-indent/archive/${version}.tar.gz";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "1dvcl108ir9nqkk4mjm9xhhj4p9dx9bmg8bnms54fizs1x3x8ar3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|