about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/cohttp/lwt.nix
blob: 37348c55262e94b2413478f626012f307c6d157a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ stdenv, buildDunePackage, cohttp, ocaml_lwt, uri, ppx_sexp_conv }:

if !stdenv.lib.versionAtLeast cohttp.version "0.99"
then cohttp
else

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

	buildInputs = [ uri ppx_sexp_conv ];

	propagatedBuildInputs = [ cohttp ocaml_lwt ];
}