aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/conduit/async.nix
blob: f16819ed8aefe977c6e8db3faef97c3006b35b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ 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";
	};
}