diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2016-09-26 15:37:25 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2016-09-26 15:49:30 +0200 |
commit | 15e5c5214c64bf7617770a457805f02e02e7fc14 (patch) | |
tree | 8f9333f063abe7af9f862875b9d62ec09bb3abb9 /pkgs/development/tools/jq | |
parent | eddd2274655ad797ea8a5df47efcd8825556977e (diff) |
jq: fix autoupdate metadata in case it gets updated in future
Diffstat (limited to 'pkgs/development/tools/jq')
-rw-r--r-- | pkgs/development/tools/jq/default.nix | 5 | ||||
-rw-r--r-- | pkgs/development/tools/jq/default.upstream | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/tools/jq/default.nix b/pkgs/development/tools/jq/default.nix index 2951cbe9aa936..d79aa0980003b 100644 --- a/pkgs/development/tools/jq/default.nix +++ b/pkgs/development/tools/jq/default.nix @@ -5,7 +5,7 @@ stdenv.mkDerivation rec { version="1.5"; src = fetchurl { - url="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz"; + url="https://github.com/stedolan/jq/releases/download/jq-${version}/jq-${version}.tar.gz"; sha256="0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"; }; @@ -35,5 +35,8 @@ stdenv.mkDerivation rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ raskin ]; platforms = with lib.platforms; linux ++ darwin; + downloadPage = "http://stedolan.github.io/jq/download/"; + updateWalker = true; + inherit version; }; } diff --git a/pkgs/development/tools/jq/default.upstream b/pkgs/development/tools/jq/default.upstream deleted file mode 100644 index 1ad914d717e0f..0000000000000 --- a/pkgs/development/tools/jq/default.upstream +++ /dev/null @@ -1 +0,0 @@ -url http://stedolan.github.io/jq/download/ |