2018-11-05 11:21:46 +01:00
|
|
|
{ stdenv, buildDunePackage, ppx_sexp_conv, conduit, ocaml_lwt }:
|
2017-08-27 21:00:55 +02:00
|
|
|
|
|
|
|
if !stdenv.lib.versionAtLeast conduit.version "1.0"
|
|
|
|
then conduit
|
|
|
|
else
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
buildDunePackage {
|
2018-11-05 11:21:46 +01:00
|
|
|
pname = "conduit-lwt";
|
|
|
|
inherit (conduit) version src meta;
|
2017-08-27 21:00:55 +02:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
2017-08-27 21:00:55 +02:00
|
|
|
|
2018-09-28 17:28:36 +02:00
|
|
|
propagatedBuildInputs = [ conduit ocaml_lwt ];
|
2017-08-27 21:00:55 +02:00
|
|
|
}
|