nixpkgs/pkgs/development/ocaml-modules/pp/default.nix
2023-05-02 16:25:03 +02:00

29 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; [ ];
};
}