blob: b4357979de753664e4246f068de39aa414669a56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ stdenv, ocaml, findlib, dune, conduit-lwt
, logs, ppx_sexp_conv, lwt_ssl
}:
if !stdenv.lib.versionAtLeast conduit-lwt.version "1.0"
then conduit-lwt
else
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-conduit-lwt-unix-${version}";
inherit (conduit-lwt) version src installPhase meta;
buildInputs = [ ocaml findlib dune ppx_sexp_conv ];
propagatedBuildInputs = [ conduit-lwt logs lwt_ssl ];
buildPhase = "dune build -p conduit-lwt-unix";
}
|