From 191f4c210a87b2eddeabd098cd57a85fadfa0ee2 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 27 Apr 2018 17:24:21 +0200 Subject: [PATCH] aqbanking: 5.6.12 -> 5.7.8 Upstream changes in 5.7.8: * Update bank information files for German banks because the format of ZKA files has changed in the meantime. Upstream release notes in German: https://www.aquamaniac.de/sites/download/releasenote.php?package=03&release=217 Upstream changes in 5.7.7: * Fix of manually adding new HBCI accounts (for example using KMyMoney). * Fix wrong truncation of account numbers in some turnovers of the SWIFT parser. * Simplified code for inserting new account data while fetching HBCI accounts. * Update information for German banks. Upstream release notes in German: https://www.aquamaniac.de/sites/download/releasenote.php?package=03&release=216 As with the gwenhywfar update, the updater script (update.sh) actually didn't get the right file to download, so I temporarily modified it to download file number 2 because file number 1 is the GPG signature. The reason why I didn't fix the updater is because the upstream site will have different URLs in the next upcoming version, so our updater is basically end-of-life for now. I also changed the package expression to use the version from sources.nix instead of a hardcoded value. Signed-off-by: aszlig Cc: @goibhniu --- pkgs/development/libraries/aqbanking/default.nix | 9 +++++---- pkgs/development/libraries/aqbanking/sources.nix | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/aqbanking/default.nix b/pkgs/development/libraries/aqbanking/default.nix index ad930a705c57..b26291469e75 100644 --- a/pkgs/development/libraries/aqbanking/default.nix +++ b/pkgs/development/libraries/aqbanking/default.nix @@ -2,13 +2,14 @@ , pkgconfig, gettext, xmlsec, zlib }: -stdenv.mkDerivation rec { +let + inherit ((import ./sources.nix).aqbanking) sha256 releaseId version; +in stdenv.mkDerivation rec { name = "aqbanking-${version}"; - version = "5.6.10"; + inherit version; src = let - inherit ((import ./sources.nix).aqbanking) sha256 releaseId; - qstring = "package=03&release=${releaseId}&file=01"; + qstring = "package=03&release=${releaseId}&file=02"; mkURLs = map (base: "${base}/sites/download/download.php?${qstring}"); in fetchurl { name = "${name}.tar.gz"; diff --git a/pkgs/development/libraries/aqbanking/sources.nix b/pkgs/development/libraries/aqbanking/sources.nix index ab69240f6214..884543d282a7 100644 --- a/pkgs/development/libraries/aqbanking/sources.nix +++ b/pkgs/development/libraries/aqbanking/sources.nix @@ -6,7 +6,7 @@ libchipcard.version = "5.0.4"; libchipcard.sha256 = "0fj2h39ll4kiv28ch8qgzdbdbnzs8gl812qnm660bw89rynpjnnj"; libchipcard.releaseId = "200"; - aqbanking.version = "5.6.12"; - aqbanking.sha256 = "08jbwmiv6f3v8iqdr44x4szna496fqcjfi6mlx04cnbx91m70lh6"; - aqbanking.releaseId = "208"; + aqbanking.version = "5.7.8"; + aqbanking.sha256 = "0s67mysskbiw1h1p0np4ph4351r7wq3nc873vylam7lsqi66xy0n"; + aqbanking.releaseId = "217"; }