mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
27 lines
604 B
Nix
27 lines
604 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, cmdliner }:
|
|
|
|
buildDunePackage rec {
|
|
version = "1.8.2";
|
|
pname = "ocp-indent";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OCamlPro";
|
|
repo = "ocp-indent";
|
|
rev = version;
|
|
sha256 = "sha256-IyvURw/6R0eKrnahV1fqLV0iIeypykrmxDbliECgbLc=";
|
|
};
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
buildInputs = [ cmdliner ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://typerex.ocamlpro.com/ocp-indent.html";
|
|
description = "A customizable tool to indent OCaml code";
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.jirkamarsik ];
|
|
};
|
|
}
|