depot/third_party/nixpkgs/pkgs/development/ocaml-modules/pp/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

28 lines
645 B
Nix

{ buildDunePackage
, fetchurl
, ppx_expect
, lib
}:
buildDunePackage rec {
pname = "pp";
version = "1.1.2";
src = fetchurl {
url = "https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
hash = "sha256-5KTpjZaxu3aVD81tpOk4yG2YnfTX5I8C96RFlfWvHVY=";
};
duneVersion = "3";
minimalOCamlVersion = "4.08";
checkInputs = [ ppx_expect ];
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;
maintainers = with maintainers; [ ];
};
}