mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-01 05:04:40 +00:00
This is how we gain proper versioning, standard patch application, automatic updates. In total a more healthy nginx module package set.
26 lines
501 B
Nix
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 = [ ];
|
|
};
|
|
|
|
})
|