nixpkgs-suyu/pkgs/servers/varnish/packages.nix
2022-03-19 21:01:27 +01:00

30 lines
1,023 B
Nix

{ callPackages, callPackage, varnish60, varnish71, fetchFromGitHub }: {
varnish60Packages = rec {
varnish = varnish60;
modules = (callPackages ./modules.nix { inherit varnish; }).modules15;
digest = callPackage ./digest.nix {
inherit varnish;
version = "libvmod-digest-1.0.2";
sha256 = "0jwkqqalydn0pwfdhirl5zjhbc3hldvhh09hxrahibr72fgmgpbx";
};
dynamic = callPackage ./dynamic.nix {
inherit varnish;
version = "0.4";
sha256 = "1n94slrm6vn3hpymfkla03gw9603jajclg84bjhwb8kxsk3rxpmk";
};
};
varnish71Packages = rec {
varnish = varnish71;
modules = (callPackages ./modules.nix { inherit varnish; }).modules19;
digest = callPackage ./digest.nix {
inherit varnish;
version = "6.6";
sha256 = "0n33g8ml4bsyvcvl5lk7yng1ikvmcv8dd6bc1mv2lj4729pp97nn";
};
dynamic = callPackage ./dynamic.nix {
inherit varnish;
version = "2.4.0";
sha256 = "1g53zblyxi1jivwppmpdqhi5xnzapsfib453sxyqbc5dfs7fijxr";
};
};
}