From e5d6acb5858329a76532a25ca4727cd1b046481d Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 2 Jun 2016 16:18:02 +0200 Subject: [PATCH] aqbanking: 5.5.1 -> 5.6.10 Upstream changelog for version 5.5.1 through 5.6.10 is in German only and also not very detailled, so here is a comparison from a GitHub mirror I've found: https://github.com/cstim/aqbanking/compare/5.5.1...e129e64472a2 I've also used a similar scheme to what I've been using for gwenhywfar, so that we can soon unify all of the aqbanking & related libraries. Signed-off-by: aszlig Cc: @cillianderoiste, @urkud --- pkgs/development/libraries/aqbanking/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/aqbanking/default.nix b/pkgs/development/libraries/aqbanking/default.nix index 9d4761c3da86..ee985e709417 100644 --- a/pkgs/development/libraries/aqbanking/default.nix +++ b/pkgs/development/libraries/aqbanking/default.nix @@ -3,12 +3,17 @@ }: stdenv.mkDerivation rec { - name = "aqbanking-5.5.1"; + name = "aqbanking-${version}"; + version = "5.6.10"; - src = fetchurl { - url = "http://www2.aquamaniac.de/sites/download/download.php?package=03&release=118&file=01&dummy=${name}.tar.gz"; + src = let + releaseNum = 206; # Change this on update + qstring = "package=03&release=${toString releaseNum}&file=01"; + mkURLs = map (base: "${base}/sites/download/download.php?${qstring}"); + in fetchurl { name = "${name}.tar.gz"; - sha256 = "1pxd5xv2xls1hyizr1vbknzgb66babhlp72777rcxq46gp91g3r3"; + urls = mkURLs [ "http://www.aquamaniac.de" "http://www2.aquamaniac.de" ]; + sha256 = "1x0isvpk43rq2zlyyb9p0kgjmqv7yq07vgkiprw3f5sjkykvxw6d"; }; buildInputs = [ gmp gwenhywfar libtool libxml2 libxslt xmlsec zlib ];