summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/pprint/default.nix
blob: 369f075f8893da595038ec97982a2f6986876d48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
}:

buildDunePackage (finalAttrs: {
  pname = "pprint";
  version = "20230830";

  minimalOCamlVersion = "4.03";

  src = fetchFromGitHub {
    owner = "fpottier";
    repo = "pprint";
    rev = finalAttrs.version;
    sha256 = "sha256-avf71vAgCL1MU8O7Q3FNN3wEdCDtbNZP0ipETnn8AqA=";
  };

  meta = {
    inherit (finalAttrs.src.meta) homepage;
    description = "OCaml library for pretty-printing textual documents";
    license = lib.licenses.lgpl2Only;
    maintainers = [ lib.maintainers.vbgl ];
  };
})