ocamlPackages.lwt_ppx: init at 3.3.0
This commit is contained in:
parent
0b53d63dad
commit
be48c2effc
19
pkgs/development/ocaml-modules/lwt/ppx.nix
Normal file
19
pkgs/development/ocaml-modules/lwt/ppx.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -374,6 +374,10 @@ let
|
||||
|
||||
ocaml_lwt = if lib.versionOlder "4.02" ocaml.version then lwt3 else lwt2;
|
||||
|
||||
lwt_ppx = callPackage ../development/ocaml-modules/lwt/ppx.nix {
|
||||
lwt = lwt3;
|
||||
};
|
||||
|
||||
lwt_react = callPackage ../development/ocaml-modules/lwt_react {
|
||||
lwt = lwt3;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user