nginx/modules: use eustas' brotli module, google one is abandoned
This fork is also used by FreeBSD as of Dec 2017: https://svnweb.freebsd.org/ports?view=revision&revision=455560 See also: https://github.com/google/ngx_brotli/issues/62
This commit is contained in:
parent
b60ef32617
commit
df9ebaf8c7
@ -2,13 +2,17 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
brotli = {
|
brotli = {
|
||||||
src = fetchFromGitHub {
|
src = let gitsrc = pkgs.fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "eustas";
|
||||||
repo = "ngx_brotli";
|
repo = "ngx_brotli";
|
||||||
rev = "bfd2885b2da4d763fed18f49216bb935223cd34b";
|
rev = "47550a25d07363f8eb87ef901b2de5883c46352b";
|
||||||
sha256 = "04yx1n0wi3l2x37jd1ynl9951qxkn8xp42yv0mfp1qz9svips81n";
|
sha256 = "0ap1kf51hzb8yvvxjkcj9hnmsmmd5drcay64hd4n7vybf9dqw6g6";
|
||||||
fetchSubmodules = true;
|
}; in pkgs.runCommandNoCC "ngx_brotli-src" {} ''
|
||||||
};
|
cp -a ${gitsrc} $out
|
||||||
|
substituteInPlace $out/config \
|
||||||
|
--replace /usr/local ${lib.getDev pkgs.brotli}
|
||||||
|
'';
|
||||||
|
inputs = [ pkgs.brotli ];
|
||||||
};
|
};
|
||||||
|
|
||||||
rtmp ={
|
rtmp ={
|
||||||
|
Loading…
x
Reference in New Issue
Block a user