mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
191f4c210a
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 <aszlig@nix.build> Cc: @goibhniu
41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
{ stdenv, fetchurl, gmp, gwenhywfar, libtool, libxml2, libxslt
|
|
, pkgconfig, gettext, xmlsec, zlib
|
|
}:
|
|
|
|
let
|
|
inherit ((import ./sources.nix).aqbanking) sha256 releaseId version;
|
|
in stdenv.mkDerivation rec {
|
|
name = "aqbanking-${version}";
|
|
inherit version;
|
|
|
|
src = let
|
|
qstring = "package=03&release=${releaseId}&file=02";
|
|
mkURLs = map (base: "${base}/sites/download/download.php?${qstring}");
|
|
in fetchurl {
|
|
name = "${name}.tar.gz";
|
|
urls = mkURLs [ "http://www.aquamaniac.de" "http://www2.aquamaniac.de" ];
|
|
inherit sha256;
|
|
};
|
|
|
|
postPatch = ''
|
|
sed -i -e '/^aqbanking_plugindir=/ {
|
|
c aqbanking_plugindir="\''${libdir}/gwenhywfar/plugins"
|
|
}' configure
|
|
'';
|
|
|
|
buildInputs = [ gmp gwenhywfar libtool libxml2 libxslt xmlsec zlib ];
|
|
|
|
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;
|
|
hydraPlatforms = [];
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|