Update nginx
This commit is contained in:
@@ -9,11 +9,11 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nginx-1.2.9";
|
name = "nginx-${meta.version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://nginx.org/download/${name}.tar.gz";
|
url = "http://nginx.org/download/${name}.tar.gz";
|
||||||
sha256 = "071bs9wh1q1xmprhisyy8i4psmc2xxl6xv7plj9smxjpnxs6cj3i";
|
sha256 = "06ficmjiya3m8mdlyq3bgqx604h475n77qc5c502kfjijzld39dw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ openssl zlib pcre libxml2 libxslt ] ++ stdenv.lib.optional fullWebDAV expat;
|
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";
|
description = "A reverse proxy and lightweight webserver";
|
||||||
maintainers = [ stdenv.lib.maintainers.raskin];
|
maintainers = [ stdenv.lib.maintainers.raskin];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
version = "1.4.1";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user