git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.pp: init at 1.1.2
6ba20faGuillaume Girol
pkgs/development/ocaml-modules/pp/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ buildDunePackage
2+, fetchzip
3+, ppx_expect
4+, lib
5+}:
6+
7+buildDunePackage rec {
8+ pname = "pp";
9+ version = "1.1.2";
10+
11+ src = fetchzip {
12+ url = "https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
13+ sha256 = "1l1im054pxrkj7zk8m6yj4qfdpxkajpjfvy818ggf0j4nxkaihc5";
14+ };
15+
16+ useDune2 = true;
17+ minimalOCamlVersion = "4.08";
18+
19+ checkInputs = [ ppx_expect ];
20+ doCheck = true;
21+
22+ meta = with lib; {
23+ description = "A an alternative pretty printing library to the Format module of the OCaml standard library";
24+ license = licenses.mit;
25+ platforms = platforms.unix;
26+ maintainers = with maintainers; [ symphorien ];
27+ };
28+}
pkgs/top-level/ocaml-packages.nix+2
@@ -1018,6 +1018,8 @@ let
1018 inherit (pkgs) postgresql;
1018 inherit (pkgs) postgresql;
1019 };
1019 };
1020
1020
1021+ pp = callPackage ../development/ocaml-modules/pp { };
1022+
1021 ppx_bap = callPackage ../development/ocaml-modules/ppx_bap { };
1023 ppx_bap = callPackage ../development/ocaml-modules/ppx_bap { };
1022
1024
1023 ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix {
1025 ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix {