I believe NGINX's caching is as efficient, if not moreso, but it is less flexible. The tools available to you in Varnish's VCL are substantial, plus you get ESI support - something NGINX lacks.
Hence you can just build it with your standing nginx binary reducing the need for miscellaneous scripts.