mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
29 lines
652 B
Nix
29 lines
652 B
Nix
{ buildDunePackage
|
|
, fetchzip
|
|
, ppx_expect
|
|
, lib
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "pp";
|
|
version = "1.1.2";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
|
|
sha256 = "1l1im054pxrkj7zk8m6yj4qfdpxkajpjfvy818ggf0j4nxkaihc5";
|
|
};
|
|
|
|
useDune2 = true;
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
nativeCheckInputs = [ 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; [ ];
|
|
};
|
|
}
|