2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, buildDunePackage, conduit-lwt
|
2018-05-15 14:31:28 +01:00
|
|
|
, logs, ppx_sexp_conv, lwt_ssl
|
2017-08-27 20:00:55 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
if !stdenv.lib.versionAtLeast conduit-lwt.version "1.0"
|
|
|
|
then conduit-lwt
|
|
|
|
else
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildDunePackage {
|
2018-11-05 10:21:46 +00:00
|
|
|
pname = "conduit-lwt-unix";
|
|
|
|
inherit (conduit-lwt) version src meta;
|
2017-08-27 20:00:55 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
2017-08-27 20:00:55 +01:00
|
|
|
|
2018-05-15 14:31:28 +01:00
|
|
|
propagatedBuildInputs = [ conduit-lwt logs lwt_ssl ];
|
2017-08-27 20:00:55 +01:00
|
|
|
}
|