forked from mirrors/nixpkgs
parent
2f35e223b1
commit
ab6e0861d4
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"
|
||||
}
|
8
pkgs/servers/http/nginx/unstable.upstream
Normal file
8
pkgs/servers/http/nginx/unstable.upstream
Normal file
|
@ -0,0 +1,8 @@
|
|||
url http://nginx.org/en/download.html
|
||||
version_link '.*-([0-9]+[.][0-9]+([.][0-9]+)*)[.]tar[.][a-z0-9]*$'
|
||||
|
||||
do_overwrite() {
|
||||
ensure_hash
|
||||
set_var_value version "$CURRENT_VERSION"
|
||||
set_var_value sha256 "$CURRENT_HASH"
|
||||
}
|
Loading…
Reference in a new issue