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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
604 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, cmdliner }:
2014-10-28 17:09:42 +00:00
buildDunePackage rec {
version = "1.8.2";
pname = "ocp-indent";
2014-10-28 17:09:42 +00:00
2021-04-11 12:21:25 +00:00
useDune2 = true;
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocp-indent";
rev = version;
sha256 = "sha256-IyvURw/6R0eKrnahV1fqLV0iIeypykrmxDbliECgbLc=";
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 ];
};
}