nixpkgs/pkgs/applications/office/skrooge/default.nix
Andrei Lapshin b94bdd8ca3 skrooge: remove QtWebKit dependency
Remove QtWebkit dependency introduced in
a1b8fe8c8f

It is no longer needed after upstream fix
https://cgit.kde.org/skrooge.git/commit/?id=cb8b56fa729d5f6ee4652e79de354721f4742ee7
2019-02-17 03:43:18 -05:00

42 lines
1.3 KiB
Nix

{ mkDerivation, lib, fetchurl,
cmake, extra-cmake-modules, qtwebengine, qtscript, grantlee,
kxmlgui, kwallet, kparts, kdoctools, kjobwidgets, kdesignerplugin,
kiconthemes, knewstuff, sqlcipher, qca-qt5, kactivities, karchive,
kguiaddons, knotifyconfig, krunner, kwindowsystem, libofx, shared-mime-info
}:
mkDerivation rec {
name = "skrooge-${version}";
version = "2.18.0";
src = fetchurl {
url = "http://download.kde.org/stable/skrooge/${name}.tar.xz";
sha256 = "00zk152clnmq8rjjnrxmd7lfflf2pnzljaw73bjjsb6r6vkxywa6";
};
nativeBuildInputs = [
cmake extra-cmake-modules kdoctools shared-mime-info
];
buildInputs = [
qtwebengine qtscript grantlee kxmlgui kwallet kparts
kjobwidgets kdesignerplugin kiconthemes knewstuff sqlcipher qca-qt5
kactivities karchive kguiaddons knotifyconfig krunner kwindowsystem libofx
];
# SKG_DESIGNER must be used to generate the needed library for QtDesigner.
# This is needed ONLY for developers. So NOT NEEDED for end user.
# Source: https://forum.kde.org/viewtopic.php?f=210&t=143375#p393675
cmakeFlags = [
"-DSKG_DESIGNER=OFF"
"-DSKG_WEBENGINE=ON"
];
meta = with lib; {
description = "A personal finances manager, powered by KDE";
license = with licenses; [ gpl3 ];
maintainers = with maintainers; [ joko ];
homepage = https://skrooge.org/;
};
}