mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Update nginx
This commit is contained in:
parent
2efe295e92
commit
1800db96d7
@ -9,11 +9,11 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nginx-1.2.9";
|
||||
name = "nginx-${meta.version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://nginx.org/download/${name}.tar.gz";
|
||||
sha256 = "071bs9wh1q1xmprhisyy8i4psmc2xxl6xv7plj9smxjpnxs6cj3i";
|
||||
sha256 = "06ficmjiya3m8mdlyq3bgqx604h475n77qc5c502kfjijzld39dw";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl zlib pcre libxml2 libxslt ] ++ stdenv.lib.optional fullWebDAV expat;
|
||||
@ -41,5 +41,6 @@ stdenv.mkDerivation rec {
|
||||
description = "A reverse proxy and lightweight webserver";
|
||||
maintainers = [ stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
version = "1.4.1";
|
||||
};
|
||||
}
|
||||
|
8
pkgs/servers/http/nginx/default.upstream
Normal file
8
pkgs/servers/http/nginx/default.upstream
Normal file
@ -0,0 +1,8 @@
|
||||
url http://nginx.org/en/download.html
|
||||
version_link '.*-([0-9]+[.][0-9]*[02468]([.][0-9]+)*)[.]tar[.][a-z0-9]*$'
|
||||
|
||||
do_overwrite() {
|
||||
ensure_hash
|
||||
set_var_value version "$CURRENT_VERSION"
|
||||
set_var_value sha256 "$CURRENT_HASH" 2
|
||||
}
|
Loading…
Reference in New Issue
Block a user