mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 23:55:23 +00:00
c6128d2feb
* 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
22 lines
692 B
Nix
22 lines
692 B
Nix
{ stdenv, fetchurl, pkgconfig, varnish, python, docutils }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.2.0";
|
|
name = "varnish-rtstatus-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.varnish-software.com/libvmod-rtstatus/libvmod-rtstatus-${version}.tar.gz";
|
|
sha256 = "0hll1aspgpv1daw5sdbn5w1d6birchxgapzb6zi1nhahjlimy4ly";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig docutils ];
|
|
buildInputs = [ varnish python ];
|
|
configureFlags = [ "VMOD_DIR=$(out)/lib/varnish/vmods" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Varnish realtime status page";
|
|
homepage = https://github.com/varnish/libvmod-rtstatus;
|
|
inherit (varnish.meta) license platforms maintainers;
|
|
};
|
|
}
|