From 15e5c5214c64bf7617770a457805f02e02e7fc14 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 26 Sep 2016 15:37:25 +0200 Subject: [PATCH] jq: fix autoupdate metadata in case it gets updated in future --- pkgs/development/tools/jq/default.nix | 5 ++++- pkgs/development/tools/jq/default.upstream | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 pkgs/development/tools/jq/default.upstream diff --git a/pkgs/development/tools/jq/default.nix b/pkgs/development/tools/jq/default.nix index 2951cbe9aa9..d79aa098000 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 1ad914d717e..00000000000 --- a/pkgs/development/tools/jq/default.upstream +++ /dev/null @@ -1 +0,0 @@ -url http://stedolan.github.io/jq/download/