nixpkgs/pkgs/applications/office/kmymoney/default.nix
exi 18ba3297f0 Fix kmymoney test build failure on 32bit
(cherry picked from commit f4618e14b956055da3df400fa9d302c5ea64a7f8)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-09-13 09:45:15 +02:00

35 lines
954 B
Nix

{ stdenv, fetchurl, cmake, kdelibs, automoc4, kdepimlibs, gettext, pkgconfig
, shared_mime_info, perl, boost, gpgme, gmpxx, libalkimia, libofx, libical
, doxygen, aqbanking, gwenhywfar }:
stdenv.mkDerivation rec {
name = "kmymoney-${version}";
version = "4.8.0";
src = fetchurl {
url = "mirror://kde/stable/kmymoney/${version}/src/${name}.tar.xz";
sha256 = "1hlayhcmdfayma4hchv2bfyg82ry0h74hg4095d959mg19qkb9n2";
};
cmakeFlags = [
"-DENABLE_KBANKING='true'"
];
buildInputs = [ kdepimlibs perl boost gpgme gmpxx libalkimia libofx libical
doxygen aqbanking gwenhywfar ];
nativeBuildInputs = [ cmake automoc4 gettext shared_mime_info pkgconfig ];
KDEDIRS = libalkimia;
patches = [
./qgpgme.patch
./seqaccessmgrtest.patch
];
meta = {
homepage = http://kmymoney2.sourceforge.net/;
description = "KDE personal money manager";
inherit (kdelibs.meta) platforms maintainers;
};
}