nixpkgs-suyu/pkgs/servers/varnish/default.nix

21 lines
676 B
Nix

{ stdenv, fetchurl, pcre, libxslt, groff, ncurses, pkgconfig, readline }:
stdenv.mkDerivation rec {
version = "3.0.5";
name = "varnish-${version}";
src = fetchurl {
url = "http://repo.varnish-cache.org/source/${name}.tar.gz";
sha256 = "1dz2gazqczfzahh2n0aw71i5g9cpn5d98p9gj6ilqlkiqypxcbrh";
};
buildInputs = [ pcre libxslt groff ncurses pkgconfig readline ];
meta = {
description = "Web application accelerator also known as a caching HTTP reverse proxy";
homepage = "https://www.varnish-cache.org";
license = stdenv.lib.licenses.bsd2;
maintainers = [ stdenv.lib.maintainers.garbas ];
platforms = stdenv.lib.platforms.linux;
};
}