aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/conduit/lwt.nix
blob: 2eb225d88b6e5a14900d9fc4f1d4d55672dba3a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ stdenv, buildDunePackage, ppx_sexp_conv, conduit, ocaml_lwt }:

if !stdenv.lib.versionAtLeast conduit.version "1.0"
then conduit
else

buildDunePackage {
	pname = "conduit-lwt";
	inherit (conduit) version src meta;

	buildInputs = [ ppx_sexp_conv ];

	propagatedBuildInputs = [ conduit ocaml_lwt ];
}