Files
nixpkgs/pkgs/servers/http/nginx/modules/slowfs-cache/package.nix
Martin Weinelt 332e43b0cc nginxModules: upgrade to derivations
This is how we gain proper versioning, standard patch application,
automatic updates. In total a more healthy nginx module package set.
2026-07-31 21:44:51 +02:00

26 lines
501 B
Nix

{
fetchFromGitHub,
lib,
mkNginxPlugin,
}:
mkNginxPlugin (finalAttrs: {
pname = "slowfs-cache";
version = "1.10";
src = fetchFromGitHub {
owner = "FRiCKLE";
repo = "ngx_slowfs_cache";
tag = finalAttrs.version;
hash = "sha256-uddV7vlc7SqnRp5L36+yr6wGylNjwxsq/kNzdgVQ378=";
};
meta = {
description = "Adds ability to cache static files";
homepage = "https://github.com/friCKLE/ngx_slowfs_cache";
license = lib.licenses.bsd2;
maintainers = [ ];
};
})