about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-08-07 12:00:00 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2021-08-27 13:38:37 +0200
commit6ba20fa087be388c286bf439a69b95abafdbaa9c (patch)
tree06e5fdadb9963940982430a655c1d6dc7dc9c0de /pkgs/development/ocaml-modules
parent91c152e22b997e6372b8f1f634fe14b9d376589e (diff)
downloadnixlib-6ba20fa087be388c286bf439a69b95abafdbaa9c.tar
nixlib-6ba20fa087be388c286bf439a69b95abafdbaa9c.tar.gz
nixlib-6ba20fa087be388c286bf439a69b95abafdbaa9c.tar.bz2
nixlib-6ba20fa087be388c286bf439a69b95abafdbaa9c.tar.lz
nixlib-6ba20fa087be388c286bf439a69b95abafdbaa9c.tar.xz
nixlib-6ba20fa087be388c286bf439a69b95abafdbaa9c.tar.zst
nixlib-6ba20fa087be388c286bf439a69b95abafdbaa9c.zip
ocamlPackages.pp: init at 1.1.2
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/pp/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/pp/default.nix b/pkgs/development/ocaml-modules/pp/default.nix
new file mode 100644
index 000000000000..70c509ec22ce
--- /dev/null
+++ b/pkgs/development/ocaml-modules/pp/default.nix
@@ -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 ];
+  };
+}