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

buildDunePackage rec {
  pname = "pprint";
  version = "20220103";

  useDune2 = true;

  src = fetchFromGitHub {
    owner = "fpottier";
    repo = pname;
    rev = version;
    sha256 = "sha256:09y6nwnjldifm47406q1r9987njlk77g4ifqg6qs54dckhr64vax";
  };

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