python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / office / skrooge / default.nix
blobd070d98d3f555c25646e1fa60cdd153c74bff3c4
1 { mkDerivation, lib, fetchurl,
2   cmake, extra-cmake-modules, qtwebengine, qtscript, grantlee,
3   kxmlgui, kwallet, kparts, kdoctools, kjobwidgets, kdesignerplugin,
4   kiconthemes, knewstuff, sqlcipher, qca-qt5, kactivities, karchive,
5   kguiaddons, knotifyconfig, krunner, kwindowsystem, libofx, shared-mime-info
6 }:
8 mkDerivation rec {
9   pname = "skrooge";
10   version = "2.28.0";
12   src = fetchurl {
13     url = "https://download.kde.org/stable/skrooge/${pname}-${version}.tar.xz";
14     sha256 = "sha256-s2SkGMBx7HVpr1NBUJpqji3PTPnw4RqnkakdQVC5ric=";
15   };
17   nativeBuildInputs = [
18     cmake extra-cmake-modules kdoctools shared-mime-info
19   ];
21   buildInputs = [
22     qtwebengine qtscript grantlee kxmlgui kwallet kparts
23     kjobwidgets kdesignerplugin kiconthemes knewstuff sqlcipher qca-qt5
24     kactivities karchive kguiaddons knotifyconfig krunner kwindowsystem libofx
25   ];
27   # SKG_DESIGNER must be used to generate the needed library for QtDesigner.
28   # This is needed ONLY for developers. So NOT NEEDED for end user.
29   # Source: https://forum.kde.org/viewtopic.php?f=210&t=143375#p393675
30   cmakeFlags = [
31     "-DSKG_DESIGNER=OFF"
32     "-DSKG_WEBENGINE=ON"
33     "-DSKG_WEBKIT=OFF"
34     "-DBUILD_TESTS=ON"
35   ];
37   meta = with lib; {
38     description = "A personal finances manager, powered by KDE";
39     license = with licenses; [ gpl3 ];
40     maintainers = with maintainers; [ joko ];
41     homepage = "https://skrooge.org/";
42   };