mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Merge pull request #34943 from dtzWill/feature/ngx_brotli-eustas
nginx/modules: use eustas' brotli module, google one is abandoned
This commit is contained in:
commit
22b5aebe9d
@ -2,13 +2,17 @@
|
||||
|
||||
{
|
||||
brotli = {
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
src = let gitsrc = pkgs.fetchFromGitHub {
|
||||
owner = "eustas";
|
||||
repo = "ngx_brotli";
|
||||
rev = "bfd2885b2da4d763fed18f49216bb935223cd34b";
|
||||
sha256 = "04yx1n0wi3l2x37jd1ynl9951qxkn8xp42yv0mfp1qz9svips81n";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
rev = "8cd9dd5fc232d3a01644584921e52dae99034779";
|
||||
sha256 = "0ap1kf51hzb8yvvxjkcj9hnmsmmd5drcay64hd4n7vybf9dqw6g6";
|
||||
}; in pkgs.runCommandNoCC "ngx_brotli-src" {} ''
|
||||
cp -a ${gitsrc} $out
|
||||
substituteInPlace $out/config \
|
||||
--replace /usr/local ${lib.getDev pkgs.brotli}
|
||||
'';
|
||||
inputs = [ pkgs.brotli ];
|
||||
};
|
||||
|
||||
rtmp ={
|
||||
|
Loading…
Reference in New Issue
Block a user