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

15 lines
303 B
Nix
Raw Normal View History

{ stdenv, buildDunePackage, ppx_sexp_conv, conduit, ocaml_lwt }:
if !stdenv.lib.versionAtLeast conduit.version "1.0"
then conduit
else
2019-08-13 22:52:01 +01:00
buildDunePackage {
pname = "conduit-lwt";
inherit (conduit) version src meta;
buildInputs = [ ppx_sexp_conv ];
propagatedBuildInputs = [ conduit ocaml_lwt ];
}