nginxModules.brotli: unstable-2020-04-23 -> unstable-2022-04-29

This commit is contained in:
Izorkin 2022-08-23 13:57:42 +03:00
parent ebcca6e498
commit f3e20dbfb0
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

View file

@ -102,15 +102,15 @@ let self = {
brotli = {
name = "brotli";
src = let gitsrc = fetchFromGitHub {
src = let src' = fetchFromGitHub {
name = "brotli";
owner = "google";
repo = "ngx_brotli";
rev = "25f86f0bac1101b6512135eac5f93c49c63609e3";
sha256 = "02hfvfa6milj40qc2ikpb9f95sxqvxk4hly3x74kqhysbdi06hhv";
rev = "6e975bcb015f62e1f303054897783355e2a877dc";
sha256 = "sha256-G0IDYlvaQzzJ6cNTSGbfuOuSXFp3RsEwIJLGapTbDgo=";
}; in
runCommand "ngx_brotli-src" { } ''
cp -a ${gitsrc} $out
runCommand "brotli" { } ''
cp -a ${src'} $out
substituteInPlace $out/filter/config \
--replace '$ngx_addon_dir/deps/brotli/c' ${lib.getDev brotli}
'';