about summary refs log tree commit diff
path: root/pkgs/servers/varnish/modules.nix
blob: c37fae4ba3d2650dcde8be1e02db8fea85b1ec64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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;
  };
}