1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/ocaml/ocp-indent/default.nix

23 lines
579 B
Nix
Raw Normal View History

{ lib, fetchzip, buildDunePackage, cmdliner }:
2014-10-28 17:09:42 +00:00
buildDunePackage rec {
version = "1.7.0";
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";
sha256 = "006x3fsd61vxnxj4chlakyk3b2s10pb0bdl46g0ghf3j8h33x7hc";
2014-10-28 17:09:42 +00:00
};
minimumOCamlVersion = "4.02";
2014-10-28 17:09:42 +00:00
buildInputs = [ cmdliner ];
2014-10-28 17:09:42 +00:00
meta = with lib; {
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 ];
};
}