2021-08-27 14:25:00 +00:00
|
|
|
{ buildDunePackage
|
2023-05-24 13:37:59 +00:00
|
|
|
, fetchurl
|
2021-08-27 14:25:00 +00:00
|
|
|
, ppx_expect
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "pp";
|
|
|
|
version = "1.1.2";
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
src = fetchurl {
|
2021-08-27 14:25:00 +00:00
|
|
|
url = "https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-5KTpjZaxu3aVD81tpOk4yG2YnfTX5I8C96RFlfWvHVY=";
|
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; {
|
|
|
|
description = "A an alternative pretty printing library to the Format module of the OCaml standard library";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|