summary refs log blame commit diff
path: root/pkgs/development/ocaml-modules/cohttp/lwt.nix
blob: 748b970477eebff1cfaf7c7adc797e71de84bf4d (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                          




                                                   
                  

                                          
 
                                            
 
                                                          
 
{ stdenv, buildDunePackage, cohttp, ocaml_lwt, uri, ppx_sexp_conv, logs }:

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

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

	buildInputs = [ uri ppx_sexp_conv ];

	propagatedBuildInputs = [ cohttp ocaml_lwt logs ];
}