1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/development/ocaml-modules/lwt/ppx.nix
2018-03-27 20:34:08 +00:00

20 lines
505 B
Nix

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