2019-01-09 15:14:22 +00:00
|
|
|
{ lib, fetchzip, buildDunePackage, cmdliner }:
|
2014-10-28 17:09:42 +00:00
|
|
|
|
2019-01-09 15:14:22 +00:00
|
|
|
buildDunePackage rec {
|
2020-08-15 15:10:21 +01:00
|
|
|
version = "1.8.2";
|
2019-01-09 15:14:22 +00:00
|
|
|
pname = "ocp-indent";
|
2014-10-28 17:09:42 +00:00
|
|
|
|
2015-10-14 18:26:38 +01:00
|
|
|
src = fetchzip {
|
2017-05-28 21:39:21 +01:00
|
|
|
url = "https://github.com/OCamlPro/ocp-indent/archive/${version}.tar.gz";
|
2020-08-15 15:10:21 +01:00
|
|
|
sha256 = "1dvcl108ir9nqkk4mjm9xhhj4p9dx9bmg8bnms54fizs1x3x8ar3";
|
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 02:11:51 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|