summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/conduit/async.nix
blob: e289b5d711d58265ffa8a87f3f5545c07f58185e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, buildDunePackage, async, async_ssl, ppx_sexp_conv, conduit }:

if !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";
	};
}