58f8944c92
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
19 lines
434 B
Nix
19 lines
434 B
Nix
{ stdenv, buildDunePackage, async, async_ssl, ppx_sexp_conv, conduit }:
|
|
|
|
if !stdenv.lib.versionAtLeast conduit.version "1.0"
|
|
then conduit
|
|
else
|
|
|
|
buildDunePackage {
|
|
pname = "conduit-async";
|
|
useDune2 = true;
|
|
inherit (conduit) version src;
|
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
|
|
|
propagatedBuildInputs = [ async async_ssl conduit ];
|
|
|
|
meta = conduit.meta // {
|
|
description = "A network connection establishment library for Async";
|
|
};
|
|
}
|