1 { lib, stdenv, fetchurl, gmp, gwenhywfar, libtool, libxml2, libxslt
2 , pkg-config, gettext, xmlsec, zlib
6 inherit ((import ./sources.nix).aqbanking) hash releaseId version;
7 in stdenv.mkDerivation rec {
12 url = "https://www.aquamaniac.de/rdm/attachments/download/${releaseId}/${pname}-${version}.tar.gz";
16 # Set the include dir explicitly, this fixes a build error when building
17 # kmymoney because otherwise the includedir is overwritten by gwenhywfar's
20 sed -i '/^set_and_check(AQBANKING_INCLUDE_DIRS "@aqbanking_headerdir@")/i set_and_check(includedir "@includedir@")' aqbanking-config.cmake.in
21 sed -i -e '/^aqbanking_plugindir=/ {
22 c aqbanking_plugindir="\''${libdir}/gwenhywfar/plugins"
26 buildInputs = [ gmp gwenhywfar libtool libxml2 libxslt xmlsec zlib ];
28 nativeBuildInputs = [ pkg-config gettext ];
31 description = "An interface to banking tasks, file formats and country information";
32 homepage = "https://www.aquamaniac.de/rdm/";
34 license = licenses.gpl2Plus;
35 maintainers = with maintainers; [ goibhniu ];
36 platforms = platforms.linux;