2023-10-09 19:29:22 +00:00
|
|
|
{ buildDunePackage, fetchurl, ppx_expect, lib }:
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "pp";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.2.0";
|
2021-08-27 14:25:00 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
src = fetchurl {
|
2023-10-09 19:29:22 +00:00
|
|
|
url =
|
|
|
|
"https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
|
|
|
|
hash = "sha256-pegiVzxVr7Qtsp7FbqzR8qzY9lzy3yh44pHeN0zmkJw=";
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
duneVersion = "3";
|
2021-08-27 14:25:00 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ ppx_expect ];
|
2021-08-27 14:25:00 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-10-09 19:29:22 +00:00
|
|
|
description =
|
|
|
|
"A an alternative pretty printing library to the Format module of the OCaml standard library";
|
2021-08-27 14:25:00 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2022-10-30 15:09:59 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
}
|