1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/servers/varnish/packages.nix

23 lines
1,005 B
Nix

{ callPackage, varnish4, varnish5, varnish6 }:
{
varnish4Packages = {
varnish = varnish4;
digest = callPackage ./digest.nix { varnish = varnish4; };
rtstatus = callPackage ./rtstatus.nix { varnish = varnish4; }; # varnish4 only
modules = callPackage ./modules.nix { varnish = varnish4; }; # varnish4 and varnish5 only
geoip = callPackage ./geoip.nix { varnish = varnish4; }; # varnish4 and varnish5 only
};
varnish5Packages = {
varnish = varnish5;
digest = callPackage ./digest.nix { varnish = varnish5; };
dynamic = callPackage ./dynamic.nix { varnish = varnish5; }; # varnish5 only (upstream has a separate branch for varnish4)
modules = callPackage ./modules.nix { varnish = varnish5; }; # varnish4 and varnish5 only
geoip = callPackage ./geoip.nix { varnish = varnish5; }; # varnish4 and varnish5 only
};
varnish6Packages = {
varnish = varnish6;
digest = callPackage ./digest.nix { varnish = varnish6; };
};
}