2021-10-30 11:17:44 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, cmdliner }:
|
2014-10-28 17:09:42 +00:00
|
|
|
|
2019-01-09 15:14:22 +00:00
|
|
|
buildDunePackage rec {
|
2020-08-15 14:10:21 +00:00
|
|
|
version = "1.8.2";
|
2019-01-09 15:14:22 +00:00
|
|
|
pname = "ocp-indent";
|
2014-10-28 17:09:42 +00:00
|
|
|
|
2021-04-11 12:21:25 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-10-30 11:17:44 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OCamlPro";
|
|
|
|
repo = "ocp-indent";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-IyvURw/6R0eKrnahV1fqLV0iIeypykrmxDbliECgbLc=";
|
2014-10-28 17:09:42 +00:00
|
|
|
};
|
|
|
|
|
2019-01-09 15:14:22 +00:00
|
|
|
minimumOCamlVersion = "4.02";
|
2014-10-28 17:09:42 +00:00
|
|
|
|
2019-01-09 15:14:22 +00:00
|
|
|
buildInputs = [ cmdliner ];
|
2014-10-28 17:09:42 +00:00
|
|
|
|
2019-01-09 15:14:22 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://typerex.ocamlpro.com/ocp-indent.html";
|
2014-10-28 17:09:42 +00:00
|
|
|
description = "A customizable tool to indent OCaml code";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.jirkamarsik ];
|
|
|
|
};
|
|
|
|
}
|