2018-09-05 16:11:47 +00:00
|
|
|
{ stdenv, dune, ocaml, findlib, lwt, ppx_tools_versioned }:
|
2018-03-27 20:34:08 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml${ocaml.version}-lwt_ppx-${lwt.version}";
|
|
|
|
|
|
|
|
inherit (lwt) src;
|
|
|
|
|
2018-09-05 16:11:47 +00:00
|
|
|
buildInputs = [ dune ocaml findlib ppx_tools_versioned ];
|
2018-03-27 20:34:08 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ lwt ];
|
|
|
|
|
2018-09-05 16:11:47 +00:00
|
|
|
buildPhase = "dune build -p lwt_ppx";
|
|
|
|
installPhase = "${dune.installPhase} lwt_ppx.install";
|
2018-03-27 20:34:08 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Ppx syntax extension for Lwt";
|
|
|
|
inherit (lwt.meta) license platforms homepage maintainers;
|
|
|
|
};
|
|
|
|
}
|