Files
nixpkgs/pkgs/servers/http/nginx/modules/limit-speed/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
572 B
Nix

{
fetchFromGitHub,
lib,
mkNginxPlugin,
}:
mkNginxPlugin (finalAttrs: {
pname = "limit-speed";
version = "0.1-unstable-2014-03-21";
src = fetchFromGitHub {
owner = "yaoweibin";
repo = "nginx_limit_speed_module";
rev = "f77ad4a56fbb134878e75827b40cf801990ed936";
hash = "sha256-6Mr6dlzoq08eWEr+fpLdU75r8D5ARxHRSJ2z+xFoeU4=";
};
meta = {
description = "Limit the total speed from the specific user";
homepage = "https://github.com/yaoweibin/nginx_limit_speed_module";
license = lib.licenses.bsd2;
maintainers = [ ];
};
})