about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/ocaml/ocp-indent/default.nix
blob: 2d52cda7cbdb391084c6fd8196ebe09f3d739ef8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchzip, buildDunePackage, cmdliner }:

buildDunePackage rec {
  version = "1.8.2";
  pname = "ocp-indent";

  useDune2 = true;

  src = fetchzip {
    url = "https://github.com/OCamlPro/ocp-indent/archive/${version}.tar.gz";
    sha256 = "1dvcl108ir9nqkk4mjm9xhhj4p9dx9bmg8bnms54fizs1x3x8ar3";
  };

  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 ];
  };
}