gnucash: enable aqbanking support for online banking

This requires recent versions of aqbanking and gwenhywfar:
https://devel.aqbanking.de/trac/aqbanking/ticket/197

It seems as if the developers have changed their version numbering
scheme in 2012 and have only released versions with the "beta" suffix
since then.
This commit is contained in:
Cillian de Róiste 2014-02-23 12:21:19 +01:00
parent 3f95f39bab
commit 9f08c21c2b
3 changed files with 27 additions and 16 deletions

View File

@ -1,7 +1,7 @@
{ fetchurl, stdenv, pkgconfig, libxml2, gconf, glib, gtk, libgnomeui, libofx
, libgtkhtml, gtkhtml, libgnomeprint, goffice, enchant, gettext, libbonoboui
, intltool, perl, guile, slibGuile, swig, isocodes, bzip2, makeWrapper, libglade
, libgsf, libart_lgpl, perlPackages
, libgsf, libart_lgpl, perlPackages, aqbanking, gwenhywfar
}:
/* If you experience GConf errors when running GnuCash on NixOS, see
@ -21,10 +21,10 @@ stdenv.mkDerivation rec {
pkgconfig libxml2 gconf glib gtk libgnomeui libgtkhtml gtkhtml
libgnomeprint goffice enchant gettext intltool perl guile slibGuile
swig isocodes bzip2 makeWrapper libofx libglade libgsf libart_lgpl
perlPackages.DateManip perlPackages.FinanceQuote
perlPackages.DateManip perlPackages.FinanceQuote aqbanking gwenhywfar
];
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3 --disable-dbi --enable-ofx";
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3 --disable-dbi --enable-ofx --enable-aqbanking";
postInstall = ''
# Auto-updaters don't make sense in Nix.

View File

@ -1,23 +1,27 @@
{ stdenv, fetchurl, gwenhywfar, pkgconfig, gmp, zlib }:
{ stdenv, fetchurl, gmp, gwenhywfar, libtool, libxml2, libxslt
, pkgconfig, xmlsec, zlib
}:
stdenv.mkDerivation rec {
name = "aqbanking-5.0.21";
name = "aqbanking-5.4.0beta";
src = fetchurl {
url = "http://www2.aquamaniac.de/sites/download/download.php?package=03&release=91&file=01&dummy=aqbanking-5.0.21.tar.gz";
url = "http://www2.aquamaniac.de/sites/download/download.php?package=03&release=112&file=01&dummy=aqbanking-5.4.0beta.tar.gz";
name = "${name}.tar.gz";
sha256 = "1xvzg640fswkrjrkrqzj0j9lnij7kcpnyvzd7nsg1by40wxwgp52";
sha256 = "0yd588sw9grc2c0bfyx8h39mr30pa1zxrcbv31p6pz6szilk2agh";
};
buildInputs = [ gwenhywfar gmp zlib ];
buildInputs = [ gmp gwenhywfar libtool libxml2 libxslt xmlsec zlib ];
nativeBuildInputs = [ pkgconfig ];
configureFlags = "--with-gwen-dir=${gwenhywfar}";
meta = {
maintainers = [ stdenv.lib.maintainers.urkud ];
# Tries to install gwenhywfar plugin, thus `make install` fails
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 = [];
maintainers = with maintainers; [ goibhniu urkud ];
platforms = platforms.linux;
};
}

View File

@ -1,19 +1,26 @@
{ stdenv, fetchurl, qt4, gtk, pkgconfig, gnutls, libgcrypt }:
{ stdenv, fetchurl, gnutls, gtk, libgcrypt, pkgconfig, qt4 }:
stdenv.mkDerivation rec {
name = "gwenhywfar-4.3.1";
name = "gwenhywfar-4.10.0beta";
src = fetchurl {
url = "http://www2.aquamaniac.de/sites/download/download.php?package=01&release=65&file=01&dummy=gwenhywfar-4.3.1.tar.gz";
url = "http://www2.aquamaniac.de/sites/download/download.php?package=01&release=73&file=01&dummy=gwenhywfar-4.10.0beta.tar.gz";
name = "${name}.tar.gz";
sha256 = "1r8ayi1nwcdcs4mncd7zigl8pk707j7whb85klsyir4nif52fxrs";
sha256 = "1ihg2s263g540hl42y6g9wqcc4am70kv01yivsqfrpa9fnhbxm7f";
};
propagatedBuildInputs = [ gnutls libgcrypt ];
buildInputs = [ qt4 gtk ];
buildInputs = [ gtk qt4 ];
nativeBuildInputs = [ pkgconfig ];
QTDIR = qt4;
meta = with stdenv.lib; {
description = "OS abstraction functions used by aqbanking and related tools";
homepage = "http://www2.aquamaniac.de/sites/download/packages.php?package=01&showall=1";
maintainers = with maintainers; [ goibhniu ];
platforms = platforms.linux;
};
}