From ab6e0861d4ec3ec8720e4b81b116f6c639acb8d3 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 6 May 2016 15:35:38 +0200 Subject: [PATCH] nginx: restore .upstream files https://github.com/NixOS/nixpkgs/commit/07d9de713a1789b90f4153ca82afafc3a8ea1b87 --- pkgs/servers/http/nginx/default.upstream | 8 ++++++++ pkgs/servers/http/nginx/unstable.upstream | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/servers/http/nginx/default.upstream create mode 100644 pkgs/servers/http/nginx/unstable.upstream diff --git a/pkgs/servers/http/nginx/default.upstream b/pkgs/servers/http/nginx/default.upstream new file mode 100644 index 000000000000..c20139017436 --- /dev/null +++ b/pkgs/servers/http/nginx/default.upstream @@ -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" +} diff --git a/pkgs/servers/http/nginx/unstable.upstream b/pkgs/servers/http/nginx/unstable.upstream new file mode 100644 index 000000000000..7bb025499592 --- /dev/null +++ b/pkgs/servers/http/nginx/unstable.upstream @@ -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" +}