ocamlPackages.pp: init at 1.1.2
This commit is contained in:
parent
91c152e22b
commit
6ba20fa087
2 changed files with 30 additions and 0 deletions
28
pkgs/development/ocaml-modules/pp/default.nix
Normal file
28
pkgs/development/ocaml-modules/pp/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ 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";
|
||||
|
||||
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; [ symphorien ];
|
||||
};
|
||||
}
|
|
@ -1018,6 +1018,8 @@ let
|
|||
inherit (pkgs) postgresql;
|
||||
};
|
||||
|
||||
pp = callPackage ../development/ocaml-modules/pp { };
|
||||
|
||||
ppx_bap = callPackage ../development/ocaml-modules/ppx_bap { };
|
||||
|
||||
ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix {
|
||||
|
|
Loading…
Reference in a new issue