2014-02-23 11:21:19 +00:00
|
|
|
{ stdenv, fetchurl, gmp, gwenhywfar, libtool, libxml2, libxslt
|
|
|
|
, pkgconfig, xmlsec, zlib
|
|
|
|
}:
|
2012-01-08 19:29:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-06-02 15:18:02 +01:00
|
|
|
name = "aqbanking-${version}";
|
|
|
|
version = "5.6.10";
|
2012-01-08 19:29:07 +00:00
|
|
|
|
2016-06-02 15:18:02 +01:00
|
|
|
src = let
|
|
|
|
releaseNum = 206; # Change this on update
|
|
|
|
qstring = "package=03&release=${toString releaseNum}&file=01";
|
|
|
|
mkURLs = map (base: "${base}/sites/download/download.php?${qstring}");
|
|
|
|
in fetchurl {
|
2012-01-08 19:29:07 +00:00
|
|
|
name = "${name}.tar.gz";
|
2016-06-02 15:18:02 +01:00
|
|
|
urls = mkURLs [ "http://www.aquamaniac.de" "http://www2.aquamaniac.de" ];
|
|
|
|
sha256 = "1x0isvpk43rq2zlyyb9p0kgjmqv7yq07vgkiprw3f5sjkykvxw6d";
|
2012-01-08 19:29:07 +00:00
|
|
|
};
|
|
|
|
|
2016-06-02 15:29:16 +01:00
|
|
|
postPatch = ''
|
|
|
|
sed -i -e '/^aqbanking_plugindir=/ {
|
|
|
|
c aqbanking_plugindir="\''${libdir}/gwenhywfar/plugins"
|
|
|
|
}' configure
|
|
|
|
'';
|
|
|
|
|
2014-02-23 11:21:19 +00:00
|
|
|
buildInputs = [ gmp gwenhywfar libtool libxml2 libxslt xmlsec zlib ];
|
2012-01-08 19:29:07 +00:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-01-08 19:29:07 +00:00
|
|
|
|
2016-06-02 15:29:16 +01:00
|
|
|
configureFlags = [ "--with-gwen-dir=${gwenhywfar}" ];
|
2012-01-08 19:29:07 +00:00
|
|
|
|
2014-02-23 11:21:19 +00:00
|
|
|
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";
|
2013-11-04 23:04:36 +00:00
|
|
|
hydraPlatforms = [];
|
2014-02-23 11:44:18 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2014-02-23 11:21:19 +00:00
|
|
|
maintainers = with maintainers; [ goibhniu urkud ];
|
|
|
|
platforms = platforms.linux;
|
2012-01-08 19:29:07 +00:00
|
|
|
};
|
|
|
|
}
|