ocamlPackages.conduit-async: init at 2.2.2
This commit is contained in:
parent
87cb88b71f
commit
97c4b3934c
2 changed files with 20 additions and 0 deletions
18
pkgs/development/ocaml-modules/conduit/async.nix
Normal file
18
pkgs/development/ocaml-modules/conduit/async.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue