3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/office/skrooge/default.nix

43 lines
1.4 KiB
Nix
Raw Normal View History

2019-10-18 00:23:11 +01:00
{ mkDerivation, lib, fetchpatch, 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
}:
2017-05-17 20:26:11 +01:00
mkDerivation rec {
pname = "skrooge";
2020-07-27 03:57:07 +01:00
version = "2.23.0";
src = fetchurl {
url = "http://download.kde.org/stable/skrooge/${pname}-${version}.tar.xz";
2020-07-27 03:57:07 +01:00
sha256 = "10k3j67x5xm5whsvb84k9p70bkn4jbbbvdfan7q49dh2mmpair5a";
};
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
];
2018-02-25 15:15:15 +00:00
# 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"
"-DBUILD_TESTS=ON"
2018-02-25 15:15:15 +00:00
];
2017-05-17 20:26:11 +01:00
meta = with lib; {
description = "A personal finances manager, powered by KDE";
license = with licenses; [ gpl3 ];
maintainers = with maintainers; [ joko ];
homepage = "https://skrooge.org/";
};
}