nixpkgs/pkgs/development/tools/ocaml/ocp-indent/default.nix

23 lines
581 B
Nix
Raw Normal View History

{ lib, fetchzip, buildDunePackage, cmdliner }:
2014-10-28 18:09:42 +01:00
buildDunePackage rec {
version = "1.8.1";
pname = "ocp-indent";
2014-10-28 18:09:42 +01:00
2015-10-14 19:26:38 +02:00
src = fetchzip {
2017-05-28 22:39:21 +02:00
url = "https://github.com/OCamlPro/ocp-indent/archive/${version}.tar.gz";
sha256 = "0h4ysh36q1fxc40inhsdq2swqpfm15lpilqqcafs5ska42pn7s68";
2014-10-28 18:09:42 +01:00
};
minimumOCamlVersion = "4.02";
2014-10-28 18:09:42 +01:00
buildInputs = [ cmdliner ];
2014-10-28 18:09:42 +01:00
meta = with lib; {
homepage = "http://typerex.ocamlpro.com/ocp-indent.html";
2014-10-28 18:09:42 +01:00
description = "A customizable tool to indent OCaml code";
license = licenses.gpl3;
maintainers = [ maintainers.jirkamarsik ];
};
}