jq: fix autoupdate metadata in case it gets updated in future

This commit is contained in:
Michael Raskin 2016-09-26 15:37:25 +02:00
parent eddd227465
commit 15e5c5214c
2 changed files with 4 additions and 2 deletions

View File

@ -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;
};
}

View File

@ -1 +0,0 @@
url http://stedolan.github.io/jq/download/