39 http_proxy_connect_module_generic = patchName: rec {
40 name = "http_proxy_connect";
41 src = fetchFromGitHub {
42 name = "http_proxy_connect_module_generic";
44 repo = "ngx_http_proxy_connect_module";
46 rev = "dcb9a2c614d376b820d774db510d4da12dfe1e5b";
47 hash = "sha256-AzMhTSzmk3osSYy2q28/hko1v2AOTnY/dP5IprqGlQo=";
51 "${src}/patch/${patchName}.patch"
55 description = "Forward proxy module for CONNECT request handling";
56 homepage = "https://github.com/chobits/ngx_http_proxy_connect_module";
57 license = with licenses; [ bsd2 ];
65 akamai-token-validate = {
66 name = "akamai-token-validate";
67 src = fetchFromGitHub {
68 name = "akamai-token-validate";
70 repo = "nginx-akamai-token-validate-module";
71 rev = "34fd0c94d2c43c642f323491c4f4a226cd83b962";
72 sha256 = "0yf34s11vgkcl03wbl6gjngm3p9hs8vvm7hkjkwhjh39vkk2a7cy";
78 description = "Validates Akamai v2 query string tokens";
79 homepage = "https://github.com/kaltura/nginx-akamai-token-validate-module";
80 license = with licenses; [ agpl3Only ];
87 src = fetchFromGitLab {
90 repo = "nginx-auth-a2aclr";
91 rev = "bbabf9480bb2b40ac581551883a18dfa6522dd63";
92 sha256 = "sha256-h2LgMhreCgod+H/bNQzY9BvqG9ezkwikwWB3T6gHH04=";
96 (arpa2common.overrideAttrs
100 src = fetchFromGitLab {
102 repo = "arpa2common";
104 sha256 = "sha256-8zVsAlGtmya9EK4OkGUMu2FKJRn2Q3bg2QWGjqcii64=";
110 description = "Integrate ARPA2 Resource ACLs into nginx";
111 homepage = "https://gitlab.com/arpa2/nginx-auth-a2aclr";
112 license = with licenses; [ isc ];
119 src = fetchFromGitHub {
121 owner = "anomalizer";
122 repo = "ngx_aws_auth";
124 sha256 = "10z67g40w7wpd13fwxyknkbg3p6hn61i4v8xw6lh27br29v1y6h9";
128 description = "Proxy to authenticated AWS services";
129 homepage = "https://github.com/anomalizer/ngx_aws_auth";
130 license = with licenses; [ bsd2 ];
137 src = let src' = fetchFromGitHub {
141 rev = "6e975bcb015f62e1f303054897783355e2a877dc";
142 sha256 = "sha256-G0IDYlvaQzzJ6cNTSGbfuOuSXFp3RsEwIJLGapTbDgo=";
144 runCommand "brotli" { } ''
146 substituteInPlace $out/filter/config \
147 --replace '$ngx_addon_dir/deps/brotli/c' ${lib.getDev brotli}
153 description = "Brotli compression";
154 homepage = "https://github.com/google/ngx_brotli";
155 license = with licenses; [ bsd2 ];
161 name = "cache-purge";
162 src = fetchFromGitHub {
163 name = "cache-purge";
164 owner = "nginx-modules";
165 repo = "ngx_cache_purge";
167 sha256 = "0va4jz36mxj76nmq05n3fgnpdad30cslg7c10vnlhdmmic9vqncd";
171 description = "Adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches";
172 homepage = "https://github.com/nginx-modules/ngx_cache_purge";
173 license = with licenses; [ bsd2 ];
180 src = fetchFromGitHub {
183 repo = "ngx_coolkit";
185 sha256 = "1idj0cqmfsdqawjcqpr1fsq670fdki51ksqk2lslfpcs3yrfjpqh";
189 description = "Collection of small and useful nginx add-ons";
190 homepage = "https://github.com/FRiCKLE/ngx_coolkit";
191 license = with licenses; [ bsd2 ];
198 src = fetchFromGitHub {
201 repo = "nginx-dav-ext-module";
203 sha256 = "000dm5zk0m1hm1iq60aff5r6y8xmqd7djrwhgnz9ig01xyhnjv9w";
209 description = "WebDAV PROPFIND,OPTIONS,LOCK,UNLOCK support";
210 homepage = "https://github.com/arut/nginx-dav-ext-module";
211 license = with licenses; [ bsd2 ];
218 src = fetchFromGitHub {
221 repo = "ngx_devel_kit";
223 hash= "sha256-/RQUVHwIdNqm3UemQ/oNs2ksg8beziA4Pxejd5Yg0Pg=";
227 description = "Adds additional generic tools that module developers can use in their own modules";
228 homepage = "https://github.com/vision5/ngx_devel_kit";
229 license = with licenses; [ bsd3 ];
238 src = fetchFromGitHub {
241 repo = "echo-nginx-module";
243 hash = "sha256-K7oOE0yxPYLf+3YMVbBsncpHRpGHXjs/8B5QPO3MQC4=";
247 description = "Brings echo, sleep, time, exec and more shell-style goodies to Nginx";
248 homepage = "https://github.com/openresty/echo-nginx-module";
249 license = with licenses; [ bsd2 ];
256 src = fetchFromGitHub {
259 repo = "ngx-fancyindex";
261 sha256 = "0nar45lp3jays3p6b01a78a6gwh6v0snpzcncgiphcqmj5kw8ipg";
265 description = " Fancy indexes module";
266 homepage = "https://github.com/aperezdc/ngx-fancyindex";
267 license = with licenses; [ bsd2 ];
268 maintainers = with maintainers; [ aneeshusa ];
274 src = fetchFromGitHub {
277 repo = "nginx-fluentd-module";
278 rev = "8af234043059c857be27879bc547c141eafd5c13";
279 sha256 = "1ycb5zd9sw60ra53jpak1m73zwrjikwhrrh9q6266h1mlyns7zxm";
283 description = "Fluentd data collector";
284 homepage = "https://github.com/fluent/nginx-fluentd-module";
285 license = with licenses; [ asl20 ];
292 src = fetchFromGitHub {
295 repo = "ngx_http_geoip2_module";
297 sha256 = "CAs1JZsHY7RymSBYbumC2BENsXtZP3p4ljH5QKwz5yg=";
300 inputs = [ libmaxminddb ];
303 description = "Creates variables with values from the maxmind geoip2 databases";
304 homepage = "https://github.com/leev/ngx_http_geoip2_module";
305 license = with licenses; [ bsd2 ];
306 maintainers = with maintainers; [ pinpox ];
310 http_proxy_connect_module_v24 = http_proxy_connect_module_generic "proxy_connect_rewrite_102101" // {
311 supports = with lib.versions; version: major version == "1" && minor version == "24";
314 http_proxy_connect_module_v25 = http_proxy_connect_module_generic "proxy_connect_rewrite_102101" // {
315 supports = with lib.versions; version: major version == "1" && minor version == "25";
320 src = fetchFromGitHub {
322 owner = "masonicboom";
325 sha256 = "0qcx15c8wbsmyz2hkmyy5yd7qn1n84kx9amaxnfxkpqi05vzm1zz";
331 description = " IP address anonymizer";
332 homepage = "https://github.com/masonicboom/ipscrub";
333 license = with licenses; [ bsd3 ];
339 name = "limit-speed";
340 src = fetchFromGitHub {
341 name = "limit-speed";
343 repo = "nginx_limit_speed_module";
344 rev = "f77ad4a56fbb134878e75827b40cf801990ed936";
345 sha256 = "0kkrd08zpcwx938i2is07vq6pgjkvn97xzjab0g4zaz8bivgmjp8";
349 description = "Limit the total speed from the specific user";
350 homepage = "https://github.com/yaoweibin/nginx_limit_speed_module";
351 license = with licenses; [ bsd2 ];
358 src = fetchFromGitHub {
361 repo = "nginx-live-module";
362 rev = "5e4a1e3a718e65e5206c24eba00d42b0d1c4b7dd";
363 sha256 = "1kpnhl4b50zim84z22ahqxyxfq4jv8ab85kzsy2n5ciqbyg491lz";
367 description = "HTTP live module";
368 homepage = "https://github.com/arut/nginx-live-module";
369 license = with licenses; [ bsd2 ];
378 src = fetchFromGitHub {
381 repo = "lua-nginx-module";
383 hash = "sha256-007up/XncaSBimBumHpbwgB1WnkXgBe8e/q/yT6vthI=";
386 inputs = [ luajit_openresty ];
389 export LUAJIT_LIB="${luajit_openresty}/lib"
390 export LUAJIT_INC="$(realpath ${luajit_openresty}/include/luajit-*)"
392 # make source directory writable to allow generating src/ngx_http_lua_autoconf.h
393 lua_src=$TMPDIR/lua-src
394 cp -r "${src}/" "$lua_src"
395 chmod -R +w "$lua_src"
396 export configureFlags="''${configureFlags//"${src}"/"$lua_src"}"
400 allowMemoryWriteExecute = true;
403 description = "Embed the Power of Lua";
404 homepage = "https://github.com/openresty/lua-nginx-module";
405 license = with licenses; [ bsd2 ];
411 name = "lua-upstream";
412 src = fetchFromGitHub {
413 name = "lua-upstream";
415 repo = "lua-upstream-nginx-module";
417 sha256 = "1gqccg8airli3i9103zv1zfwbjm27h235qjabfbfqk503rjamkpk";
420 inputs = [ luajit_openresty ];
421 allowMemoryWriteExecute = true;
424 description = "Expose Lua API to ngx_lua for Nginx upstreams";
425 homepage = "https://github.com/openresty/lua-upstream-nginx-module";
426 license = with licenses; [ bsd2 ];
432 name = "modsecurity";
433 src = fetchFromGitHub {
434 name = "modsecurity-nginx";
435 owner = "SpiderLabs";
436 repo = "ModSecurity-nginx";
438 sha256 = "sha256-xp0/eqi5PJlzb9NaUbNnzEqNcxDPyjyNwZOwmlv1+ag=";
441 inputs = [ curl geoip libmodsecurity libxml2 lmdb yajl ];
444 description = "Open source, cross platform web application firewall (WAF)";
445 homepage = "https://github.com/SpiderLabs/ModSecurity";
446 license = with licenses; [ asl20 ];
452 name = "moreheaders";
453 src = fetchFromGitHub {
454 name = "moreheaders";
456 repo = "headers-more-nginx-module";
458 sha256 = "sha256-X+ygIesQ9PGm5yM+u1BOLYVpm1172P8jWwXNr3ixFY4=";
462 description = "Set, add, and clear arbitrary output headers";
463 homepage = "https://github.com/openresty/headers-more-nginx-module";
464 license = with licenses; [ bsd2 ];
465 maintainers = with maintainers; [ SuperSandro2000 ];
471 src = fetchFromGitHub {
474 repo = "nginx-ts-module";
476 sha256 = "12dxcyy6wna1fccl3a9lnsbymd6p4apnwz6c24w74v97qvpfdxqd";
480 description = "MPEG-TS Live Module";
481 homepage = "https://github.com/arut/nginx-ts-module";
482 license = with licenses; [ bsd2 ];
489 src = fetchFromGitHub {
491 owner = "nbs-system";
493 rev = "95ac520eed2ea04098a76305fd0ad7e9158840b7";
494 sha256 = "0b5pnqkgg18kbw5rf2ifiq7lsx5rqmpqsql6hx5ycxjzxj6acfb3";
498 description = "Open-source, high performance, low rules maintenance WAF";
499 homepage = "https://github.com/nbs-system/naxsi";
500 license = with licenses; [ gpl3 ];
508 url = "https://hg.nginx.org/njs";
510 sha256 = "sha256-SooPFx4WNEezPD+W/wmMLY+FdkGRoojLNUFbhn3Riyg=";
514 # njs module sources have to be writable during nginx build, so we copy them
515 # to a temporary directory and change the module path in the configureFlags
517 NJS_SOURCE_DIR=$(readlink -m "$TMPDIR/${src}")
518 mkdir -p "$(dirname "$NJS_SOURCE_DIR")"
519 cp --recursive "${src}" "$NJS_SOURCE_DIR"
520 chmod -R u+rwX,go+rX "$NJS_SOURCE_DIR"
521 export configureFlags="''${configureFlags/"${src}"/"$NJS_SOURCE_DIR/nginx"}"
528 description = "Subset of the JavaScript language that allows extending nginx functionality";
529 homepage = "https://nginx.org/en/docs/njs/";
530 license = with licenses; [ bsd2 ];
536 name = "opentracing";
538 let src' = fetchFromGitHub {
539 name = "opentracing";
540 owner = "opentracing-contrib";
541 repo = "nginx-opentracing";
543 sha256 = "1q234s3p55xv820207dnh4fcxkqikjcq5rs02ai31ylpmfsf0kkb";
545 in "${src'}/opentracing";
547 inputs = [ opentracing-cpp ];
550 description = "Enable requests served by nginx for distributed tracing via The OpenTracing Project";
551 homepage = "https://github.com/opentracing-contrib/nginx-opentracing";
552 license = with licenses; [ asl20 ];
560 moduleSrc = fetchFromGitHub {
563 repo = "incubator-pagespeed-ngx";
564 rev = "v${psol.version}-stable";
565 sha256 = "0ry7vmkb2bx0sspl1kgjlrzzz6lbz07313ks2lr80rrdm2zb16wp";
567 in runCommand "ngx_pagespeed" {
569 description = "PageSpeed module for Nginx";
570 homepage = "https://developers.google.com/speed/pagespeed/module/";
571 license = lib.licenses.asl20;
574 cp -r "${moduleSrc}" "$out"
576 ln -s "${psol}" "$out/psol"
579 inputs = [ zlib libuuid ]; # psol deps
580 allowMemoryWriteExecute = true;
583 description = "Automatic PageSpeed optimization";
584 homepage = "https://github.com/apache/incubator-pagespeed-ngx";
585 license = with licenses; [ asl20 ];
592 src = fetchFromGitHub {
595 repo = "ngx_http_auth_pam_module";
597 sha256 = "sha256:09lnljdhjg65643bc4535z378lsn4llbq67zcxlln0pizk9y921a";
603 description = "Use PAM for simple http authentication";
604 homepage = "https://github.com/sto/ngx_http_auth_pam_module";
605 license = with licenses; [ bsd2 ];
612 src = fetchFromGitHub {
615 repo = "ngx_http_pinba_module";
616 rev = "28131255d4797a7e2f82a6a35cf9fc03c4678fe6";
617 sha256 = "00fii8bjvyipq6q47xhjhm3ylj4rhzmlk3qwxmfpdn37j7bc8p8c";
621 description = "Pinba module for nginx";
622 homepage = "https://github.com/tony2001/ngx_http_pinba_module";
623 license = with licenses; [ unfree ]; # no license in repo
629 name = "push-stream";
630 src = fetchFromGitHub {
631 name = "push-stream";
632 owner = "wandenberg";
633 repo = "nginx-push-stream-module";
634 rev = "1cdc01521ed44dc614ebb5c0d19141cf047e1f90";
635 sha256 = "0ijka32b37dl07k2jl48db5a32ix43jaczrpjih84cvq8yph0jjr";
639 description = "Pure stream http push technology";
640 homepage = "https://github.com/wandenberg/nginx-push-stream-module";
641 license = with licenses; [ gpl3 ];
648 src = fetchFromGitHub {
651 repo = "nginx-rtmp-module";
653 sha256 = "0y45bswk213yhkc2v1xca2rnsxrhx8v6azxz9pvi71vvxcggqv6h";
657 description = "Media Streaming Server";
658 homepage = "https://github.com/arut/nginx-rtmp-module";
659 license = with licenses; [ bsd2 ];
665 name = "secure-token";
667 src = fetchFromGitHub {
668 name = "secure-token";
670 repo = "nginx-secure-token-module";
671 rev = "refs/tags/${version}";
672 hash = "sha256-qYTjGS9pykRqMFmNls52YKxEdXYhHw+18YC2zzdjEpU=";
675 inputs = [ openssl ];
678 description = "Generates CDN tokens, either as a cookie or as a query string parameter";
679 homepage = "https://github.com/kaltura/nginx-secure-token-module";
680 license = with licenses; [ agpl3Only ];
687 src = fetchFromGitHub {
690 repo = "set-misc-nginx-module";
692 hash = "sha256-jMMj3Ki1uSfQzagoB/O4NarxPjiaF9YRwjSKo+cgMxo=";
696 description = "Various set_xxx directives added to the rewrite module (md5/sha1, sql/json quoting and many more)";
697 homepage = "https://github.com/openresty/set-misc-nginx-module";
698 license = with licenses; [ bsd2 ];
705 src = fetchFromGitHub {
707 owner = "nginx-shib";
708 repo = "nginx-http-shibboleth";
709 rev = "3f5ff4212fa12de23cb1acae8bf3a5a432b3f43b";
710 sha256 = "136zjipaz7iikgcgqwdv1mrh3ya996zyzbkdy6d4k07s2h9g7hy6";
714 description = "Shibboleth auth request";
715 homepage = "https://github.com/nginx-shib/nginx-http-shibboleth";
716 license = with licenses; [ bsd2 ];
723 src = fetchFromGitHub {
725 owner = "goldenclone";
727 rev = "7778f0125974befbc83751d0e1cadb2dcea57601";
728 sha256 = "1x5hm6r0dkm02ffny8kjd7mmq8przyd9amg2qvy5700x6lb63pbs";
732 description = "Implements a collection of augmented statistics based on HTTP-codes and upstreams response time";
733 homepage = "https://github.com/goldenclone/nginx-sla";
734 license = with licenses; [ unfree ]; # no license in repo
740 name = "slowfs-cache";
741 src = fetchFromGitHub {
742 name = "slowfs-cache";
744 repo = "ngx_slowfs_cache";
746 sha256 = "1gyza02pcws3zqm1phv3ag50db5gnapxyjwy8skjmvawz7p5bmxr";
750 description = "Adds ability to cache static files";
751 homepage = "https://github.com/friCKLE/ngx_slowfs_cache";
752 license = with licenses; [ bsd2 ];
757 sorted-querystring = {
758 name = "sorted-querystring";
759 src = fetchFromGitHub {
760 name = "sorted-querystring";
761 owner = "wandenberg";
762 repo = "nginx-sorted-querystring-module";
764 sha256 = "0p6b0hcws39n27fx4xp9k4hb3pcv7b6kah4qqaj0pzjy3nbp4gj7";
768 description = "Expose querystring parameters sorted in a variable";
769 homepage = "https://github.com/wandenberg/nginx-sorted-querystring-module";
770 license = with licenses; [ mit ];
776 name = "spnego-http-auth";
777 src = fetchFromGitHub {
778 name = "spnego-http-auth";
780 repo = "spnego-http-auth-nginx-module";
781 rev = "3575542b3147bd03a6c68a750c3662b0d72ed94e";
782 hash = "sha256-s0m5h7m7dsPD5o2SvBb9L2kB57jwXZK5SkdkGuOmlgs=";
785 inputs = [ libkrb5 ];
788 description = "SPNEGO HTTP Authentication Module";
789 homepage = "https://github.com/stnoonan/spnego-http-auth-nginx-module";
790 license = with licenses; [ bsd2 ];
791 maintainers = teams.deshaw.members;
797 src = fetchFromGitHub {
800 repo = "nginx-statsd";
801 rev = "b970e40467a624ba710c9a5106879a0554413d15";
802 sha256 = "1x8j4i1i2ahrr7qvz03vkldgdjdxi6mx75mzkfizfcc8smr4salr";
806 description = "Send statistics to statsd";
807 homepage = "https://github.com/harvesthq/nginx-statsd";
808 license = with licenses; [ bsd3 ];
815 src = fetchFromGitHub {
818 repo = "nginx-module-stream-sts";
820 sha256 = "1jdj1kik6l3rl9nyx61xkqk7hmqbncy0rrqjz3dmjqsz92y8zaya";
824 description = "Stream server traffic status core module";
825 homepage = "https://github.com/vozlt/nginx-module-stream-sts";
826 license = with licenses; [ bsd2 ];
833 src = fetchFromGitHub {
836 repo = "nginx-module-sts";
838 sha256 = "0nvb29641x1i7mdbydcny4qwlvdpws38xscxirajd2x7nnfdflrk";
842 description = "Stream server traffic status module";
843 homepage = "https://github.com/vozlt/nginx-module-sts";
844 license = with licenses; [ bsd2 ];
851 src = fetchFromGitHub {
854 repo = "ngx_http_substitutions_filter_module";
855 rev = "e12e965ac1837ca709709f9a26f572a54d83430e";
856 sha256 = "sha256-3sWgue6QZYwK69XSi9q8r3WYGVyMCIgfqqLvPBHqJKU=";
860 description = "Filter module which can do both regular expression and fixed string substitutions";
861 homepage = "https://github.com/yaoweibin/ngx_http_substitutions_filter_module";
862 license = with licenses; [ bsd2 ];
869 src = fetchFromGitHub {
872 repo = "nginx-module-sysguard";
873 rev = "e512897f5aba4f79ccaeeebb51138f1704a58608";
874 sha256 = "19c6w6wscbq9phnx7vzbdf4ay6p2ys0g7kp2rmc9d4fb53phrhfx";
878 description = "Nginx sysguard module";
879 homepage = "https://github.com/vozlt/nginx-module-sysguard";
880 license = with licenses; [ bsd2 ];
887 src = fetchFromGitHub {
890 repo = "nginx-upload-module";
892 sha256 = "8veZP516oC7TESO368ZsZreetbDt+1eTcamk7P1kWjU=";
896 description = "Handle file uploads using multipart/form-data encoding and resumable uploads";
897 homepage = "https://github.com/fdintino/nginx-upload-module";
898 license = with licenses; [ bsd3 ];
904 name = "upstream-check";
905 src = fetchFromGitHub {
906 name = "upstream-check";
908 repo = "nginx_upstream_check_module";
909 rev = "e538034b6ad7992080d2403d6d3da56e4f7ac01e";
910 sha256 = "06y7k04072xzqyqyb08m0vaaizkp4rfwm0q7i735imbzw2rxb74l";
914 description = "Support upstream health check";
915 homepage = "https://github.com/yaoweibin/nginx_upstream_check_module";
916 license = with licenses; [ bsd2 ];
921 upstream-tarantool = {
922 name = "upstream-tarantool";
923 src = fetchFromGitHub {
924 name = "upstream-tarantool";
926 repo = "nginx_upstream_module";
928 sha256 = "0ya4330in7zjzqw57djv4icpk0n1j98nvf0f8v296yi9rjy054br";
931 inputs = [ msgpuck.dev yajl ];
934 description = "Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)";
935 homepage = "https://github.com/tarantool/nginx_upstream_module";
936 license = with licenses; [ bsd2 ];
943 src = fetchFromGitHub {
946 repo = "nginx-module-url";
947 rev = "9299816ca6bc395625c3683fbd2aa7b916bfe91e";
948 sha256 = "0mk1gjmfnry6hgdsnlavww9bn7223idw50jlkhh5k00q5509w4ip";
952 description = "URL encoding converting module";
953 homepage = "https://github.com/vozlt/nginx-module-url";
954 license = with licenses; [ bsd2 ];
959 video-thumbextractor = rec {
960 name = "video-thumbextractor";
962 src = fetchFromGitHub {
963 name = "video-thumbextractor";
964 owner = "wandenberg";
965 repo = "nginx-video-thumbextractor-module";
966 rev = "refs/tags/${version}";
967 hash = "sha256-F2cuzCbJdGYX0Zmz9MSXTB7x8+FBR6pPpXtLlDRCcj8=";
970 inputs = [ ffmpeg-headless libjpeg ];
973 description = "Extract thumbs from a video file";
974 homepage = "https://github.com/wandenberg/nginx-video-thumbextractor-module";
975 license = with licenses; [ gpl3 ];
982 src = fetchFromGitHub {
985 repo = "nginx-vod-module";
987 hash = "sha256-xcdbaogJV/vSzFfP55uK2+zw3zF5j9AHaJI0QItTSss=";
989 substituteInPlace $out/vod/media_set.h \
990 --replace "MAX_CLIPS (128)" "MAX_CLIPS (1024)"
994 inputs = [ ffmpeg_6-headless fdk_aac openssl libxml2 libiconv ];
997 description = "VOD packager";
998 homepage = "https://github.com/kaltura/nginx-vod-module";
999 license = with licenses; [ agpl3Only ];
1006 src = fetchFromGitHub {
1009 repo = "nginx-module-vts";
1011 sha256 = "sha256-ReTmYGVSOwtnYDMkQDMWwxw09vT4iHYfYZvgd8iBotk=";
1015 description = "Virtual host traffic status module";
1016 homepage = "https://github.com/vozlt/nginx-module-vts";
1017 license = with licenses; [ bsd2 ];
1018 maintainers = with maintainers; [ SuperSandro2000 ];
1024 src = fetchFromGitHub {
1027 repo = "zstd-nginx-module";
1029 hash = "sha256-1gCV7uUsuYnZfb9e8VfjWkUloVINOUH5qzeJ03kIHgs=";
1035 description = "Nginx modules for the Zstandard compression";
1036 homepage = "https://github.com/tokers/zstd-nginx-module";
1037 license = with licenses; [ bsd2 ];
1038 maintainers = with maintainers; [ SuperSandro2000 ];
1041 }; in self // lib.optionalAttrs config.allowAliases {
1042 # deprecated or renamed packages
1043 modsecurity-nginx = self.modsecurity;
1044 fastcgi-cache-purge = throw "fastcgi-cache-purge was renamed to cache-purge";
1045 ngx_aws_auth = throw "ngx_aws_auth was renamed to aws-auth";