1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

nginx: restore .upstream files

07d9de713a
This commit is contained in:
Tobias Geerinckx-Rice 2016-05-06 15:35:38 +02:00
parent 2f35e223b1
commit ab6e0861d4
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99
2 changed files with 16 additions and 0 deletions

View 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"
}

View 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"
}