2022-02-20 05:27:41 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "pprint";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "20230830";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fpottier";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-avf71vAgCL1MU8O7Q3FNN3wEdCDtbNZP0ipETnn8AqA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-02-20 05:27:41 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "An OCaml library for pretty-printing textual documents";
|
|
|
|
license = licenses.lgpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|