mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
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