Files
nixpkgs/pkgs/servers/http/nginx/modules/coolkit/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

25 lines
494 B
Nix

{
fetchFromGitHub,
lib,
mkNginxPlugin,
}:
mkNginxPlugin (finalAttrs: {
pname = "coolkit";
version = "0.2";
src = fetchFromGitHub {
owner = "FRiCKLE";
repo = "ngx_coolkit";
tag = finalAttrs.version;
hash = "sha256-EF/psh+aXUc1FRPrGUqczYFjsHYhX8wkV7hpVzEDssU=";
};
meta = {
description = "Collection of small and useful nginx add-ons";
homepage = "https://github.com/FRiCKLE/ngx_coolkit";
license = lib.licenses.bsd2;
maintainers = [ ];
};
})