depot/third_party/nixpkgs/pkgs/development/ocaml-modules/pp/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

26 lines
654 B
Nix

{ buildDunePackage, fetchurl, ppx_expect, lib }:
buildDunePackage rec {
pname = "pp";
version = "1.2.0";
src = fetchurl {
url =
"https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
hash = "sha256-pegiVzxVr7Qtsp7FbqzR8qzY9lzy3yh44pHeN0zmkJw=";
};
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; [ ];
};
}