nginxModules.brotli: v0.1.2 -> unstable
The fork was merged back upstream but has yet to see a formal release.
This commit is contained in:
parent
6d1e9c08e0
commit
db3182a65d
@ -20,14 +20,14 @@ in
|
|||||||
{
|
{
|
||||||
brotli = {
|
brotli = {
|
||||||
src = let gitsrc = pkgs.fetchFromGitHub {
|
src = let gitsrc = pkgs.fetchFromGitHub {
|
||||||
owner = "eustas";
|
owner = "google";
|
||||||
repo = "ngx_brotli";
|
repo = "ngx_brotli";
|
||||||
rev = "v0.1.2";
|
rev = "e505dce68acc190cc5a1e780a3b0275e39f160ca";
|
||||||
sha256 = "19r9igxm4hrzrhxajlxw2ccq0057h8ipkfiif725x0xqbxjskl6c";
|
sha256 = "00j48lffki62y1nmjyy81iklw5nlyzvrjy3z04qch4fp3p57hwla";
|
||||||
}; in pkgs.runCommandNoCC "ngx_brotli-src" {} ''
|
}; in pkgs.runCommandNoCC "ngx_brotli-src" {} ''
|
||||||
cp -a ${gitsrc} $out
|
cp -a ${gitsrc} $out
|
||||||
substituteInPlace $out/config \
|
substituteInPlace $out/filter/config \
|
||||||
--replace /usr/local ${lib.getDev pkgs.brotli}
|
--replace '$ngx_addon_dir/deps/brotli/c' ${lib.getDev pkgs.brotli}
|
||||||
'';
|
'';
|
||||||
inputs = [ pkgs.brotli ];
|
inputs = [ pkgs.brotli ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user