From e7e2df17da4080c54073c897040ae03f3b6fc669 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 27 Apr 2018 17:10:59 +0200 Subject: [PATCH] gwenhywfar: 4.17.0 -> 4.20.0 Upstream changes in 4.20.0: * 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=01&release=208 Upstream changes in 4.19.0: * Add frontend for GTK3. Upstream release notes in German: https://www.aquamaniac.de/sites/download/releasenote.php?package=01&release=207 Upstream changes in 4.18.0: * Show hashes for MD5, SHA1 and SHA512 in SSL certificates because some bank servers display different hashing variants. * Let GNUTLS handle the localisation of TrustStore certificates. Upstream release notes in German: https://www.aquamaniac.de/sites/download/releasenote.php?package=01&release=206 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/gwenhywfar.nix | 9 +++++---- pkgs/development/libraries/aqbanking/sources.nix | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/aqbanking/gwenhywfar.nix b/pkgs/development/libraries/aqbanking/gwenhywfar.nix index 28039cc01686..77a5a09da432 100644 --- a/pkgs/development/libraries/aqbanking/gwenhywfar.nix +++ b/pkgs/development/libraries/aqbanking/gwenhywfar.nix @@ -6,13 +6,14 @@ ] }: -stdenv.mkDerivation rec { +let + inherit ((import ./sources.nix).gwenhywfar) sha256 releaseId version; +in stdenv.mkDerivation rec { name = "gwenhywfar-${version}"; - version = "4.15.3"; + inherit version; src = let - inherit ((import ./sources.nix).gwenhywfar) sha256 releaseId; - qstring = "package=01&release=${releaseId}&file=01"; + qstring = "package=01&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 1638c72e95f5..ab69240f6214 100644 --- a/pkgs/development/libraries/aqbanking/sources.nix +++ b/pkgs/development/libraries/aqbanking/sources.nix @@ -1,8 +1,8 @@ # This file is autogenerated from update.sh in the same directory. { - gwenhywfar.version = "4.17.0"; - gwenhywfar.sha256 = "1z9bm2r407x8vxk2nk6pndx0zhlk32j65z472ljkgjbh56mgzz8i"; - gwenhywfar.releaseId = "205"; + gwenhywfar.version = "4.20.0"; + gwenhywfar.sha256 = "1c0g3f8jk6j693774ifslx2ds4ksabgbbalhhm9gk20kpamxm22s"; + gwenhywfar.releaseId = "208"; libchipcard.version = "5.0.4"; libchipcard.sha256 = "0fj2h39ll4kiv28ch8qgzdbdbnzs8gl812qnm660bw89rynpjnnj"; libchipcard.releaseId = "200";