nixpkgs/pkgs/servers/varnish/default.nix

22 lines
691 B
Nix
Raw Normal View History

2015-02-04 10:51:57 +00:00
{ stdenv, fetchurl, pcre, libxslt, groff, ncurses, pkgconfig, readline, python }:
2013-04-01 00:24:56 +01:00
stdenv.mkDerivation rec {
2015-02-04 10:51:57 +00:00
version = "3.0.6";
2013-04-01 00:24:56 +01:00
name = "varnish-${version}";
src = fetchurl {
url = "http://repo.varnish-cache.org/source/${name}.tar.gz";
2015-02-04 10:51:57 +00:00
sha256 = "1dw0nrplx5pa09z8vbjpncniv3qib5bh3qp3yqbk2d774n7ys3c4";
2013-04-01 00:24:56 +01:00
};
2015-02-04 10:51:57 +00:00
buildInputs = [ pcre libxslt groff ncurses pkgconfig readline python ];
2013-04-01 00:24:56 +01:00
meta = {
description = "Web application accelerator also known as a caching HTTP reverse proxy";
2013-04-01 00:24:56 +01:00
homepage = "https://www.varnish-cache.org";
license = stdenv.lib.licenses.bsd2;
maintainers = [ stdenv.lib.maintainers.garbas ];
platforms = stdenv.lib.platforms.linux;
};
}