ocamlPackages.lwt_ppx: init at 3.3.0

This commit is contained in:
Vincent Laporte
2018-03-27 20:34:08 +00:00
parent 0b53d63dad
commit be48c2effc
2 changed files with 23 additions and 0 deletions

View File

@@ -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;
};
}