summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-03-27 20:34:08 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-03-27 20:34:08 +0000
commitbe48c2effc058bb9319d2c920204548439117646 (patch)
tree7584a3231968e29d4c1c690c5a11e73fa8e695be /pkgs/development/ocaml-modules
parent0b53d63dad1ea50512dde126c3c3b46de59c4cce (diff)
downloadnixlib-be48c2effc058bb9319d2c920204548439117646.tar
nixlib-be48c2effc058bb9319d2c920204548439117646.tar.gz
nixlib-be48c2effc058bb9319d2c920204548439117646.tar.bz2
nixlib-be48c2effc058bb9319d2c920204548439117646.tar.lz
nixlib-be48c2effc058bb9319d2c920204548439117646.tar.xz
nixlib-be48c2effc058bb9319d2c920204548439117646.tar.zst
nixlib-be48c2effc058bb9319d2c920204548439117646.zip
ocamlPackages.lwt_ppx: init at 3.3.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/lwt/ppx.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt/ppx.nix b/pkgs/development/ocaml-modules/lwt/ppx.nix
new file mode 100644
index 000000000000..3cf08d06f1eb
--- /dev/null
+++ b/pkgs/development/ocaml-modules/lwt/ppx.nix
@@ -0,0 +1,19 @@
+{ stdenv, jbuilder, ocaml, findlib, lwt, ppx_tools_versioned }:
+
+stdenv.mkDerivation {
+  name = "ocaml${ocaml.version}-lwt_ppx-${lwt.version}";
+
+  inherit (lwt) src;
+
+  buildInputs = [ jbuilder ocaml findlib ppx_tools_versioned ];
+
+  propagatedBuildInputs = [ lwt ];
+
+  buildPhase = "jbuilder build -p lwt_ppx";
+  installPhase = "${jbuilder.installPhase} lwt_ppx.install";
+
+  meta = {
+    description = "Ppx syntax extension for Lwt";
+    inherit (lwt.meta) license platforms homepage maintainers;
+  };
+}