nixpkgs-suyu/pkgs/servers/varnish/modules.nix
Volth c6128d2feb nixos/varnish: made compatible with varnish 5.2.1, add modules
* nixos/varnish: command line compatible with varnish 5.2.1, fixes
https://github.com/NixOS/nixpkgs/issues/27409
* nixos/varnish: add support for modules (services.varnish.extraModules)
* varnish-modules: init at 0.10.2
* varnish-geoip: init at 1.0.2
* varnish-rtstatus: init at 1.2.0
* varnish-digest: init at 1.0.1
* added services.varnish.extraCommandLine option
2017-07-26 23:32:49 +00:00

20 lines
664 B
Nix

{ stdenv, fetchurl, pkgconfig, varnish, python, docutils }:
stdenv.mkDerivation rec {
version = "0.10.2";
name = "varnish-modules-${version}";
src = fetchurl {
url = "https://download.varnish-software.com/varnish-modules/varnish-modules-${version}.tar.gz";
sha256 = "0inw76pm8kcidh0lq7gm3c3bh8v6yps0z7j6ar617b8wf730w1im";
};
nativeBuildInputs = [ pkgconfig docutils ];
buildInputs = [ varnish python ];
meta = with stdenv.lib; {
description = "Collection of Varnish Cache modules (vmods) by Varnish Software";
homepage = https://github.com/varnish/varnish-modules;
inherit (varnish.meta) license platforms maintainers;
};
}