2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, buildDunePackage, cohttp, ocaml_lwt, uri, ppx_sexp_conv }:
|
2017-08-27 20:00:55 +01:00
|
|
|
|
|
|
|
if !stdenv.lib.versionAtLeast cohttp.version "0.99"
|
|
|
|
then cohttp
|
|
|
|
else
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "cohttp-lwt";
|
|
|
|
inherit (cohttp) version src meta;
|
2017-08-27 20:00:55 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ uri ppx_sexp_conv ];
|
2017-08-27 20:00:55 +01:00
|
|
|
|
2018-09-28 16:28:36 +01:00
|
|
|
propagatedBuildInputs = [ cohttp ocaml_lwt ];
|
2017-08-27 20:00:55 +01:00
|
|
|
}
|