3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/lwt/ppx.nix

20 lines
489 B
Nix
Raw Normal View History

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