ocamlPackages.conduit-async: init at 2.2.2

This commit is contained in:
Aaron L. Zeng 2020-07-09 20:51:22 -04:00
parent 87cb88b71f
commit 97c4b3934c
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ stdenv, buildDunePackage, async, ppx_sexp_conv, conduit }:
if !stdenv.lib.versionAtLeast conduit.version "1.0"
then conduit
else
buildDunePackage {
pname = "conduit-async";
inherit (conduit) version src;
buildInputs = [ ppx_sexp_conv ];
propagatedBuildInputs = [ async conduit ];
meta = conduit.meta // {
description = "A network connection establishment library for Async";
};
}

View file

@ -143,6 +143,8 @@ let
conduit = callPackage ../development/ocaml-modules/conduit { };
conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { };
conduit-lwt = callPackage ../development/ocaml-modules/conduit/lwt.nix { };
conduit-lwt-unix = callPackage ../development/ocaml-modules/conduit/lwt-unix.nix { };