aqbanking: 5.7.8 -> 6.0.2

also update download url
This commit is contained in:
Christian Lütke-Stetzkamp 2020-02-27 12:47:58 +01:00 committed by Niklas Hambüchen
parent e671d8d9c2
commit 16088585c9
3 changed files with 12 additions and 18 deletions

View file

@ -8,16 +8,16 @@ in stdenv.mkDerivation rec {
pname = "aqbanking";
inherit version;
src = let
qstring = "package=03&release=${releaseId}&file=02";
mkURLs = map (base: "${base}/sites/download/download.php?${qstring}");
in fetchurl {
name = "${pname}-${version}.tar.gz";
urls = mkURLs [ "http://www.aquamaniac.de" "http://www2.aquamaniac.de" ];
src = fetchurl {
url = "https://www.aquamaniac.de/rdm/attachments/download/${releaseId}/${pname}-${version}.tar.gz";
inherit sha256;
};
# Set the include dir explicitly, this fixes a build error when building
# kmymoney because otherwise the includedir is overwritten by gwenhywfar's
# cmake file
postPatch = ''
sed -i '/^set_and_check(AQBANKING_INCLUDE_DIRS "@aqbanking_headerdir@")/i set_and_check(includedir "@includedir@")' aqbanking-config.cmake.in
sed -i -e '/^aqbanking_plugindir=/ {
c aqbanking_plugindir="\''${libdir}/gwenhywfar/plugins"
}' configure
@ -27,8 +27,6 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig gettext ];
configureFlags = [ "--with-gwen-dir=${gwenhywfar}" ];
meta = with stdenv.lib; {
description = "An interface to banking tasks, file formats and country information";
homepage = http://www2.aquamaniac.de/sites/download/packages.php?package=03&showall=1;

View file

@ -6,12 +6,8 @@ in stdenv.mkDerivation rec {
pname = "libchipcard";
inherit version;
src = let
qstring = "package=02&release=${releaseId}&file=01";
mkURLs = map (base: "${base}/sites/download/download.php?${qstring}");
in fetchurl {
name = "${pname}-${version}.tar.gz";
urls = mkURLs [ "http://www.aquamaniac.de" "http://www2.aquamaniac.de" ];
src = fetchurl {
url = "https://www.aquamaniac.de/rdm/attachments/download/${releaseId}/${pname}-${version}.tar.gz";
inherit sha256;
};

View file

@ -4,8 +4,8 @@
gwenhywfar.releaseId = "242";
libchipcard.version = "5.0.4";
libchipcard.sha256 = "0fj2h39ll4kiv28ch8qgzdbdbnzs8gl812qnm660bw89rynpjnnj";
libchipcard.releaseId = "200";
aqbanking.version = "5.7.8";
aqbanking.sha256 = "0s67mysskbiw1h1p0np4ph4351r7wq3nc873vylam7lsqi66xy0n";
aqbanking.releaseId = "217";
libchipcard.releaseId = "158";
aqbanking.version = "6.0.2";
aqbanking.sha256 = "0n41n3yki1wmax4i9wi485g8zqb43z1adywcixzfq9gbdjhz05hx";
aqbanking.releaseId = "243";
}