2019-08-15 16:14:40 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, varnish, docutils }:
|
2017-07-15 23:17:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.2.0";
|
2018-03-20 06:19:32 +00:00
|
|
|
name = "${varnish.name}-rtstatus-${version}";
|
2017-07-15 23:17:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.varnish-software.com/libvmod-rtstatus/libvmod-rtstatus-${version}.tar.gz";
|
|
|
|
sha256 = "0hll1aspgpv1daw5sdbn5w1d6birchxgapzb6zi1nhahjlimy4ly";
|
|
|
|
};
|
|
|
|
|
2019-08-15 16:14:40 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig docutils varnish.python ];
|
|
|
|
buildInputs = [ varnish ];
|
2017-07-15 23:17:53 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|