diff options
author | Aaron L. Zeng <me@bcc32.com> | 2020-07-09 20:51:22 -0400 |
---|---|---|
committer | Aaron L. Zeng <me@bcc32.com> | 2020-08-28 11:33:33 -0400 |
commit | 97c4b3934c5435c5c2f5ae63c46ef32dbd02c2ad (patch) | |
tree | 1bcd90c19868ebb0f80e6b839b5c2ea608020288 /pkgs/development/ocaml-modules/conduit | |
parent | 87cb88b71f41f15708a45dedee07e8b2d627d014 (diff) |
ocamlPackages.conduit-async: init at 2.2.2
Diffstat (limited to 'pkgs/development/ocaml-modules/conduit')
-rw-r--r-- | pkgs/development/ocaml-modules/conduit/async.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/conduit/async.nix b/pkgs/development/ocaml-modules/conduit/async.nix new file mode 100644 index 000000000000..1c5834c415a4 --- /dev/null +++ b/pkgs/development/ocaml-modules/conduit/async.nix @@ -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"; + }; +} |