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