2018-07-21 01:44:44 +01:00
|
|
|
{ fetchFromGitHub, lib, pkgs }:
|
2015-10-19 09:48:43 +01:00
|
|
|
|
2019-01-21 12:02:16 +00:00
|
|
|
let
|
|
|
|
|
|
|
|
http_proxy_connect_module_generic = patchName: rec {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "http_proxy_connect_module_generic";
|
2019-01-21 12:02:16 +00:00
|
|
|
owner = "chobits";
|
|
|
|
repo = "ngx_http_proxy_connect_module";
|
2020-08-16 09:19:32 +01:00
|
|
|
rev = "96ae4e06381f821218f368ad0ba964f87cbe0266";
|
|
|
|
sha256 = "1nc7z31i7x9dzp67kzgvs34hs6ps749y26wcpi3wf5mm63i803rh";
|
2019-01-21 12:02:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
"${src}/patch/${patchName}.patch"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
|
2015-10-19 09:48:43 +01:00
|
|
|
{
|
2020-08-16 08:36:58 +01:00
|
|
|
fastcgi-cache-purge = throw "fastcgi-cache-purge was renamed to cache-purge";
|
2020-08-16 13:40:38 +01:00
|
|
|
ngx_aws_auth = throw "fastcgi-cache-purge was renamed to aws-auth";
|
|
|
|
|
|
|
|
aws-auth = {
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
name = "aws-auth";
|
|
|
|
owner = "anomalizer";
|
|
|
|
repo = "ngx_aws_auth";
|
|
|
|
rev = "2.1.1";
|
|
|
|
sha256 = "10z67g40w7wpd13fwxyknkbg3p6hn61i4v8xw6lh27br29v1y6h9";
|
|
|
|
};
|
|
|
|
};
|
2020-08-16 08:36:58 +01:00
|
|
|
|
2016-01-21 21:14:39 +00:00
|
|
|
brotli = {
|
2018-02-13 21:24:12 +00:00
|
|
|
src = let gitsrc = pkgs.fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "brotli";
|
2020-01-16 05:21:09 +00:00
|
|
|
owner = "google";
|
2016-01-21 21:14:39 +00:00
|
|
|
repo = "ngx_brotli";
|
2020-08-16 08:07:49 +01:00
|
|
|
rev = "25f86f0bac1101b6512135eac5f93c49c63609e3";
|
|
|
|
sha256 = "02hfvfa6milj40qc2ikpb9f95sxqvxk4hly3x74kqhysbdi06hhv";
|
2018-02-13 21:24:12 +00:00
|
|
|
}; in pkgs.runCommandNoCC "ngx_brotli-src" {} ''
|
|
|
|
cp -a ${gitsrc} $out
|
2020-01-16 05:21:09 +00:00
|
|
|
substituteInPlace $out/filter/config \
|
|
|
|
--replace '$ngx_addon_dir/deps/brotli/c' ${lib.getDev pkgs.brotli}
|
2018-02-13 21:24:12 +00:00
|
|
|
'';
|
|
|
|
inputs = [ pkgs.brotli ];
|
2016-01-21 21:14:39 +00:00
|
|
|
};
|
|
|
|
|
2020-08-16 08:36:58 +01:00
|
|
|
cache-purge = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "cache-purge";
|
2020-08-16 08:36:58 +01:00
|
|
|
owner = "nginx-modules";
|
|
|
|
repo = "ngx_cache_purge";
|
|
|
|
rev = "2.5.1";
|
|
|
|
sha256 = "0va4jz36mxj76nmq05n3fgnpdad30cslg7c10vnlhdmmic9vqncd";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-04-20 20:35:55 +01:00
|
|
|
coolkit = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "coolkit";
|
2019-04-20 20:35:55 +01:00
|
|
|
owner = "FRiCKLE";
|
|
|
|
repo = "ngx_coolkit";
|
|
|
|
rev = "0.2";
|
|
|
|
sha256 = "1idj0cqmfsdqawjcqpr1fsq670fdki51ksqk2lslfpcs3yrfjpqh";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-15 23:36:57 +01:00
|
|
|
dav = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "dav";
|
2018-07-15 23:36:57 +01:00
|
|
|
owner = "arut";
|
|
|
|
repo = "nginx-dav-ext-module";
|
2019-04-20 19:40:09 +01:00
|
|
|
rev = "v3.0.0";
|
|
|
|
sha256 = "000dm5zk0m1hm1iq60aff5r6y8xmqd7djrwhgnz9ig01xyhnjv9w";
|
2018-07-15 23:36:57 +01:00
|
|
|
};
|
|
|
|
inputs = [ pkgs.expat ];
|
|
|
|
};
|
|
|
|
|
|
|
|
develkit = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "develkit";
|
2020-08-16 08:17:06 +01:00
|
|
|
owner = "vision5";
|
2018-07-15 23:36:57 +01:00
|
|
|
repo = "ngx_devel_kit";
|
2020-08-16 08:17:06 +01:00
|
|
|
rev = "v0.3.1";
|
|
|
|
sha256 = "1c5zfpvm0hrd9lp8rasmw79dnr2aabh0i6y11wzb783bp8m3p2sq";
|
2018-07-15 23:36:57 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
echo = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "echo";
|
2018-07-15 23:36:57 +01:00
|
|
|
owner = "openresty";
|
|
|
|
repo = "echo-nginx-module";
|
2020-08-16 08:19:35 +01:00
|
|
|
rev = "v0.62";
|
|
|
|
sha256 = "0kr1y094yw1a9fyrf4w73ikq18w5ys463wza9n7yfl77xdwirnvl";
|
2018-07-15 23:36:57 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-15 18:07:34 +01:00
|
|
|
fancyindex = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "fancyindex";
|
2018-07-15 18:07:34 +01:00
|
|
|
owner = "aperezdc";
|
|
|
|
repo = "ngx-fancyindex";
|
2020-05-13 12:23:20 +01:00
|
|
|
rev = "v0.4.4";
|
|
|
|
sha256 = "14xmzcl608pr7hb7wng6hpz7by51cfnxlszbka3zhp3kk86ljsi6";
|
2018-07-15 18:07:34 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-15 23:36:57 +01:00
|
|
|
fluentd = {
|
2015-10-19 09:48:43 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "fluentd";
|
2018-07-15 23:36:57 +01:00
|
|
|
owner = "fluent";
|
|
|
|
repo = "nginx-fluentd-module";
|
|
|
|
rev = "8af234043059c857be27879bc547c141eafd5c13";
|
|
|
|
sha256 = "1ycb5zd9sw60ra53jpak1m73zwrjikwhrrh9q6266h1mlyns7zxm";
|
2015-10-19 09:48:43 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-08-16 09:19:32 +01:00
|
|
|
http_proxy_connect_module_v18 = http_proxy_connect_module_generic "proxy_connect_rewrite_1018" // {
|
|
|
|
supports = with lib.versions; version: major version == "1" && minor version == "18";
|
|
|
|
};
|
|
|
|
|
|
|
|
http_proxy_connect_module_v19 = http_proxy_connect_module_generic "proxy_connect_rewrite_1018" // {
|
|
|
|
supports = with lib.versions; version: major version == "1" && minor version == "19";
|
2019-04-20 19:33:18 +01:00
|
|
|
};
|
|
|
|
|
2018-07-15 23:36:57 +01:00
|
|
|
ipscrub = {
|
2015-10-19 09:48:43 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "ipscrub";
|
2018-07-15 23:36:57 +01:00
|
|
|
owner = "masonicboom";
|
|
|
|
repo = "ipscrub";
|
|
|
|
rev = "v1.0.1";
|
|
|
|
sha256 = "0qcx15c8wbsmyz2hkmyy5yd7qn1n84kx9amaxnfxkpqi05vzm1zz";
|
|
|
|
} + "/ipscrub";
|
|
|
|
inputs = [ pkgs.libbsd ];
|
2015-10-19 09:48:43 +01:00
|
|
|
};
|
|
|
|
|
2019-04-21 08:27:31 +01:00
|
|
|
limit-speed = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "limit-speed";
|
2019-04-21 08:27:31 +01:00
|
|
|
owner = "yaoweibin";
|
|
|
|
repo = "nginx_limit_speed_module";
|
|
|
|
rev = "f77ad4a56fbb134878e75827b40cf801990ed936";
|
|
|
|
sha256 = "0kkrd08zpcwx938i2is07vq6pgjkvn97xzjab0g4zaz8bivgmjp8";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-04-20 19:46:45 +01:00
|
|
|
live ={
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "live";
|
2019-04-20 19:46:45 +01:00
|
|
|
owner = "arut";
|
|
|
|
repo = "nginx-live-module";
|
|
|
|
rev = "5e4a1e3a718e65e5206c24eba00d42b0d1c4b7dd";
|
|
|
|
sha256 = "1kpnhl4b50zim84z22ahqxyxfq4jv8ab85kzsy2n5ciqbyg491lz";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-15 23:36:57 +01:00
|
|
|
lua = {
|
2015-10-19 09:48:43 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "lua";
|
2015-10-19 09:48:43 +01:00
|
|
|
owner = "openresty";
|
2018-07-15 23:36:57 +01:00
|
|
|
repo = "lua-nginx-module";
|
2019-05-13 10:33:20 +01:00
|
|
|
rev = "v0.10.15";
|
|
|
|
sha256 = "1j216isp0546hycklbr5wi8mlga5hq170hk7f2sm16sfavlkh5gz";
|
2015-10-19 09:48:43 +01:00
|
|
|
};
|
2018-07-15 23:36:57 +01:00
|
|
|
inputs = [ pkgs.luajit ];
|
|
|
|
preConfigure = ''
|
|
|
|
export LUAJIT_LIB="${pkgs.luajit}/lib"
|
|
|
|
export LUAJIT_INC="${pkgs.luajit}/include/luajit-2.0"
|
|
|
|
'';
|
2020-05-11 12:29:16 +01:00
|
|
|
allowMemoryWriteExecute = true;
|
2015-10-19 09:48:43 +01:00
|
|
|
};
|
|
|
|
|
2018-08-04 18:48:31 +01:00
|
|
|
lua-upstream = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "lua-upstream";
|
2018-08-04 18:48:31 +01:00
|
|
|
owner = "openresty";
|
|
|
|
repo = "lua-upstream-nginx-module";
|
|
|
|
rev = "v0.07";
|
|
|
|
sha256 = "1gqccg8airli3i9103zv1zfwbjm27h235qjabfbfqk503rjamkpk";
|
|
|
|
};
|
|
|
|
inputs = [ pkgs.luajit ];
|
2020-05-11 12:29:16 +01:00
|
|
|
allowMemoryWriteExecute = true;
|
2018-08-04 18:48:31 +01:00
|
|
|
};
|
|
|
|
|
2015-10-19 09:48:43 +01:00
|
|
|
modsecurity = {
|
|
|
|
src = "${pkgs.modsecurity_standalone.nginx}/nginx/modsecurity";
|
|
|
|
inputs = [ pkgs.curl pkgs.apr pkgs.aprutil pkgs.apacheHttpd pkgs.yajl ];
|
|
|
|
preConfigure = ''
|
2016-04-16 17:41:43 +01:00
|
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${pkgs.aprutil.dev}/include/apr-1 -I${pkgs.apacheHttpd.dev}/include -I${pkgs.apr.dev}/include/apr-1 -I${pkgs.yajl}/include"
|
2015-10-19 09:48:43 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2017-12-21 20:41:38 +00:00
|
|
|
modsecurity-nginx = {
|
2017-11-26 12:57:19 +00:00
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "modsecurity-nginx";
|
2017-11-26 12:57:19 +00:00
|
|
|
owner = "SpiderLabs";
|
|
|
|
repo = "ModSecurity-nginx";
|
2020-08-16 09:57:25 +01:00
|
|
|
rev = "v1.0.1";
|
|
|
|
sha256 = "0cbb3g3g4v6q5zc6an212ia5kjjad62bidnkm8b70i4qv1615pzf";
|
2017-11-26 12:57:19 +00:00
|
|
|
};
|
|
|
|
inputs = [ pkgs.curl pkgs.geoip pkgs.libmodsecurity pkgs.libxml2 pkgs.lmdb pkgs.yajl ];
|
|
|
|
};
|
|
|
|
|
2018-07-15 23:36:57 +01:00
|
|
|
moreheaders = {
|
2015-10-19 09:48:43 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "moreheaders";
|
2015-10-19 09:48:43 +01:00
|
|
|
owner = "openresty";
|
2018-07-15 23:36:57 +01:00
|
|
|
repo = "headers-more-nginx-module";
|
|
|
|
rev = "v0.33";
|
|
|
|
sha256 = "1cgdjylrdd69vlkwwmn018hrglzjwd83nqva1hrapgcfw12f7j53";
|
2015-10-19 09:48:43 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-04-20 19:54:07 +01:00
|
|
|
mpeg-ts ={
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "mpeg-ts";
|
2019-04-20 19:54:07 +01:00
|
|
|
owner = "arut";
|
|
|
|
repo = "nginx-ts-module";
|
|
|
|
rev = "v0.1.1";
|
|
|
|
sha256 = "12dxcyy6wna1fccl3a9lnsbymd6p4apnwz6c24w74v97qvpfdxqd";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-04-21 09:10:49 +01:00
|
|
|
naxsi ={
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "naxsi";
|
2019-04-21 09:10:49 +01:00
|
|
|
owner = "nbs-system";
|
|
|
|
repo = "naxsi";
|
2020-09-09 09:31:13 +01:00
|
|
|
rev = "95ac520eed2ea04098a76305fd0ad7e9158840b7";
|
|
|
|
sha256 = "0b5pnqkgg18kbw5rf2ifiq7lsx5rqmpqsql6hx5ycxjzxj6acfb3";
|
2019-04-21 09:10:49 +01:00
|
|
|
} + "/naxsi_src";
|
|
|
|
};
|
|
|
|
|
2018-10-23 17:07:45 +01:00
|
|
|
opentracing = {
|
|
|
|
src =
|
|
|
|
let src' = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "opentracing";
|
2018-10-23 17:07:45 +01:00
|
|
|
owner = "opentracing-contrib";
|
|
|
|
repo = "nginx-opentracing";
|
2020-09-09 09:34:00 +01:00
|
|
|
rev = "v0.10.0";
|
|
|
|
sha256 = "1q234s3p55xv820207dnh4fcxkqikjcq5rs02ai31ylpmfsf0kkb";
|
2018-10-23 17:07:45 +01:00
|
|
|
};
|
|
|
|
in "${src'}/opentracing";
|
|
|
|
inputs = [ pkgs.opentracing-cpp ];
|
|
|
|
};
|
|
|
|
|
2018-07-15 23:36:57 +01:00
|
|
|
pagespeed =
|
|
|
|
let
|
|
|
|
version = pkgs.psol.version;
|
|
|
|
|
|
|
|
moduleSrc = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "pagespeed";
|
2018-07-15 23:36:57 +01:00
|
|
|
owner = "pagespeed";
|
|
|
|
repo = "ngx_pagespeed";
|
|
|
|
rev = "v${version}-stable";
|
|
|
|
sha256 = "0ry7vmkb2bx0sspl1kgjlrzzz6lbz07313ks2lr80rrdm2zb16wp";
|
|
|
|
};
|
|
|
|
|
|
|
|
ngx_pagespeed = pkgs.runCommand
|
|
|
|
"ngx_pagespeed"
|
|
|
|
{
|
|
|
|
meta = {
|
|
|
|
description = "PageSpeed module for Nginx";
|
|
|
|
homepage = "https://developers.google.com/speed/pagespeed/module/";
|
|
|
|
license = pkgs.stdenv.lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
''
|
|
|
|
cp -r "${moduleSrc}" "$out"
|
|
|
|
chmod -R +w "$out"
|
|
|
|
ln -s "${pkgs.psol}" "$out/psol"
|
|
|
|
'';
|
|
|
|
in {
|
|
|
|
src = ngx_pagespeed;
|
|
|
|
inputs = [ pkgs.zlib pkgs.libuuid ]; # psol deps
|
2020-05-11 12:29:16 +01:00
|
|
|
allowMemoryWriteExecute = true;
|
2018-07-15 23:36:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
pam = {
|
2015-10-19 09:48:43 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "pam";
|
2018-07-15 23:36:57 +01:00
|
|
|
owner = "stogh";
|
|
|
|
repo = "ngx_http_auth_pam_module";
|
2020-08-16 10:08:59 +01:00
|
|
|
rev = "v1.5.2";
|
|
|
|
sha256 = "06nydxk82rc9yrw4408nakb197flxh4z1yv935crg65fn9706rl7";
|
2015-10-19 09:48:43 +01:00
|
|
|
};
|
2018-07-15 23:36:57 +01:00
|
|
|
inputs = [ pkgs.pam ];
|
2015-10-19 09:48:43 +01:00
|
|
|
};
|
|
|
|
|
2019-05-19 22:22:53 +01:00
|
|
|
pinba = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "pinba";
|
2019-05-19 22:22:53 +01:00
|
|
|
owner = "tony2001";
|
|
|
|
repo = "ngx_http_pinba_module";
|
|
|
|
rev = "28131255d4797a7e2f82a6a35cf9fc03c4678fe6";
|
|
|
|
sha256 = "00fii8bjvyipq6q47xhjhm3ylj4rhzmlk3qwxmfpdn37j7bc8p8c";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-27 18:27:31 +01:00
|
|
|
push-stream ={
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "push-stream";
|
2018-07-27 18:27:31 +01:00
|
|
|
owner = "wandenberg";
|
|
|
|
repo = "nginx-push-stream-module";
|
2020-08-16 10:11:48 +01:00
|
|
|
rev = "1cdc01521ed44dc614ebb5c0d19141cf047e1f90";
|
|
|
|
sha256 = "0ijka32b37dl07k2jl48db5a32ix43jaczrpjih84cvq8yph0jjr";
|
2018-07-27 18:27:31 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-15 23:36:57 +01:00
|
|
|
rtmp ={
|
2015-10-19 09:48:43 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "rtmp";
|
2018-07-15 23:36:57 +01:00
|
|
|
owner = "arut";
|
|
|
|
repo = "nginx-rtmp-module";
|
|
|
|
rev = "v1.2.1";
|
|
|
|
sha256 = "0na1aam176irz6w148hnvamqy1ilbn4abhdzkva0yrm35a3ksbzn";
|
2015-10-19 09:48:43 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
set-misc = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "set-misc";
|
2015-10-19 09:48:43 +01:00
|
|
|
owner = "openresty";
|
|
|
|
repo = "set-misc-nginx-module";
|
2018-07-15 20:10:48 +01:00
|
|
|
rev = "v0.32";
|
|
|
|
sha256 = "048a6jwinbjgxiprjj9ml3fdp0mhkx89g6ggams57fsx9m5vaxax";
|
2015-10-19 09:48:43 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-15 23:36:57 +01:00
|
|
|
shibboleth = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "shibboleth";
|
2018-07-15 23:36:57 +01:00
|
|
|
owner = "nginx-shib";
|
|
|
|
repo = "nginx-http-shibboleth";
|
2020-09-09 09:37:33 +01:00
|
|
|
rev = "3f5ff4212fa12de23cb1acae8bf3a5a432b3f43b";
|
|
|
|
sha256 = "136zjipaz7iikgcgqwdv1mrh3ya996zyzbkdy6d4k07s2h9g7hy6";
|
2018-07-15 23:36:57 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-15 21:29:57 +01:00
|
|
|
sla = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "sla";
|
2018-07-15 21:29:57 +01:00
|
|
|
owner = "goldenclone";
|
|
|
|
repo = "nginx-sla";
|
|
|
|
rev = "7778f0125974befbc83751d0e1cadb2dcea57601";
|
|
|
|
sha256 = "1x5hm6r0dkm02ffny8kjd7mmq8przyd9amg2qvy5700x6lb63pbs";
|
|
|
|
};
|
2018-11-08 19:02:44 +00:00
|
|
|
};
|
2018-07-15 21:29:57 +01:00
|
|
|
|
2019-04-20 20:28:22 +01:00
|
|
|
slowfs-cache = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "slowfs-cache";
|
2019-04-20 20:28:22 +01:00
|
|
|
owner = "FRiCKLE";
|
|
|
|
repo = "ngx_slowfs_cache";
|
|
|
|
rev = "1.10";
|
|
|
|
sha256 = "1gyza02pcws3zqm1phv3ag50db5gnapxyjwy8skjmvawz7p5bmxr";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-04-21 08:30:29 +01:00
|
|
|
sorted-querystring = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "sorted-querystring";
|
2019-04-21 08:30:29 +01:00
|
|
|
owner = "wandenberg";
|
|
|
|
repo = "nginx-sorted-querystring-module";
|
|
|
|
rev = "0.3";
|
|
|
|
sha256 = "0p6b0hcws39n27fx4xp9k4hb3pcv7b6kah4qqaj0pzjy3nbp4gj7";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-23 22:25:49 +00:00
|
|
|
statsd = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "statsd";
|
2020-08-16 10:38:42 +01:00
|
|
|
owner = "harvesthq";
|
2016-01-23 22:25:49 +00:00
|
|
|
repo = "nginx-statsd";
|
2018-07-15 20:19:32 +01:00
|
|
|
rev = "b970e40467a624ba710c9a5106879a0554413d15";
|
|
|
|
sha256 = "1x8j4i1i2ahrr7qvz03vkldgdjdxi6mx75mzkfizfcc8smr4salr";
|
2016-01-23 22:25:49 +00:00
|
|
|
};
|
|
|
|
};
|
2016-09-08 19:57:46 +01:00
|
|
|
|
2018-08-04 18:13:33 +01:00
|
|
|
stream-sts = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "stream-sts";
|
2018-08-04 18:13:33 +01:00
|
|
|
owner = "vozlt";
|
|
|
|
repo = "nginx-module-stream-sts";
|
|
|
|
rev = "v0.1.1";
|
|
|
|
sha256 = "1jdj1kik6l3rl9nyx61xkqk7hmqbncy0rrqjz3dmjqsz92y8zaya";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-08-04 18:01:53 +01:00
|
|
|
sts = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "sts";
|
2018-08-04 18:01:53 +01:00
|
|
|
owner = "vozlt";
|
|
|
|
repo = "nginx-module-sts";
|
|
|
|
rev = "v0.1.1";
|
|
|
|
sha256 = "0nvb29641x1i7mdbydcny4qwlvdpws38xscxirajd2x7nnfdflrk";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-03-13 00:16:40 +00:00
|
|
|
subsFilter = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "subsFilter";
|
2019-03-13 00:16:40 +00:00
|
|
|
owner = "yaoweibin";
|
|
|
|
repo = "ngx_http_substitutions_filter_module";
|
2020-08-16 10:18:24 +01:00
|
|
|
rev = "b8a71eacc7f986ba091282ab8b1bbbc6ae1807e0";
|
|
|
|
sha256 = "027jxzx66q9a6ycn47imjh40xmnqr0z423lz0ds3w4rf1c2x130f";
|
2019-03-13 00:16:40 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-08-04 18:15:37 +01:00
|
|
|
sysguard = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "sysguard";
|
2018-08-04 18:15:37 +01:00
|
|
|
owner = "vozlt";
|
|
|
|
repo = "nginx-module-sysguard";
|
|
|
|
rev = "e512897f5aba4f79ccaeeebb51138f1704a58608";
|
|
|
|
sha256 = "19c6w6wscbq9phnx7vzbdf4ay6p2ys0g7kp2rmc9d4fb53phrhfx";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-08 19:57:46 +01:00
|
|
|
upstream-check = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "upstream-check";
|
2016-09-08 19:57:46 +01:00
|
|
|
owner = "yaoweibin";
|
|
|
|
repo = "nginx_upstream_check_module";
|
2020-08-16 10:21:44 +01:00
|
|
|
rev = "e538034b6ad7992080d2403d6d3da56e4f7ac01e";
|
|
|
|
sha256 = "06y7k04072xzqyqyb08m0vaaizkp4rfwm0q7i735imbzw2rxb74l";
|
2016-09-08 19:57:46 +01:00
|
|
|
};
|
|
|
|
};
|
2018-07-27 18:05:20 +01:00
|
|
|
|
2018-07-27 19:33:14 +01:00
|
|
|
upstream-tarantool = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "upstream-tarantool";
|
2018-07-27 19:33:14 +01:00
|
|
|
owner = "tarantool";
|
|
|
|
repo = "nginx_upstream_module";
|
2019-04-20 21:11:08 +01:00
|
|
|
rev = "v2.7.1";
|
|
|
|
sha256 = "0ya4330in7zjzqw57djv4icpk0n1j98nvf0f8v296yi9rjy054br";
|
2018-07-27 19:33:14 +01:00
|
|
|
};
|
|
|
|
inputs = [ pkgs.msgpuck.dev pkgs.yajl ];
|
|
|
|
};
|
|
|
|
|
2018-08-04 18:22:42 +01:00
|
|
|
url = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "url";
|
2018-08-04 18:22:42 +01:00
|
|
|
owner = "vozlt";
|
|
|
|
repo = "nginx-module-url";
|
|
|
|
rev = "9299816ca6bc395625c3683fbd2aa7b916bfe91e";
|
|
|
|
sha256 = "0mk1gjmfnry6hgdsnlavww9bn7223idw50jlkhh5k00q5509w4ip";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-04-21 08:32:46 +01:00
|
|
|
video-thumbextractor = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "video-thumbextractor";
|
2019-04-21 08:32:46 +01:00
|
|
|
owner = "wandenberg";
|
|
|
|
repo = "nginx-video-thumbextractor-module";
|
|
|
|
rev = "0.9.0";
|
|
|
|
sha256 = "1b0v471mzbcys73pzr7gpvzzhff0cva0l5ff32cv7z1v9c0ypji7";
|
|
|
|
};
|
2020-06-07 13:39:09 +01:00
|
|
|
inputs = [ pkgs.ffmpeg_3 ];
|
2019-04-21 08:32:46 +01:00
|
|
|
};
|
|
|
|
|
2018-07-27 18:05:20 +01:00
|
|
|
vts = {
|
|
|
|
src = fetchFromGitHub {
|
2020-08-16 11:06:58 +01:00
|
|
|
name = "vts";
|
2018-07-27 18:05:20 +01:00
|
|
|
owner = "vozlt";
|
|
|
|
repo = "nginx-module-vts";
|
|
|
|
rev = "v0.1.18";
|
|
|
|
sha256 = "1jq2s9k7hah3b317hfn9y3g1q4g4x58k209psrfsqs718a9sw8c7";
|
|
|
|
};
|
|
|
|
};
|
2015-10-19 09:48:43 +01:00
|
|
|
}
|