2019-10-17 23:23:11 +00:00
|
|
|
{ mkDerivation, lib, fetchpatch, fetchurl,
|
2019-02-16 07:26:04 +00:00
|
|
|
cmake, extra-cmake-modules, qtwebengine, qtscript, grantlee,
|
2017-02-18 18:08:57 +00:00
|
|
|
kxmlgui, kwallet, kparts, kdoctools, kjobwidgets, kdesignerplugin,
|
2017-05-02 17:13:48 +00:00
|
|
|
kiconthemes, knewstuff, sqlcipher, qca-qt5, kactivities, karchive,
|
2018-02-25 02:23:58 +00:00
|
|
|
kguiaddons, knotifyconfig, krunner, kwindowsystem, libofx, shared-mime-info
|
2017-05-02 17:13:48 +00:00
|
|
|
}:
|
2012-01-08 19:29:28 +00:00
|
|
|
|
2017-05-17 19:26:11 +00:00
|
|
|
mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "skrooge";
|
2020-07-27 02:57:07 +00:00
|
|
|
version = "2.23.0";
|
2012-01-08 19:29:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://download.kde.org/stable/skrooge/${pname}-${version}.tar.xz";
|
2020-07-27 02:57:07 +00:00
|
|
|
sha256 = "10k3j67x5xm5whsvb84k9p70bkn4jbbbvdfan7q49dh2mmpair5a";
|
2012-01-08 19:29:28 +00:00
|
|
|
};
|
|
|
|
|
2017-12-24 23:26:27 +00:00
|
|
|
nativeBuildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
cmake extra-cmake-modules kdoctools shared-mime-info
|
2017-12-24 23:26:27 +00:00
|
|
|
];
|
2012-01-08 19:29:28 +00:00
|
|
|
|
2017-12-24 23:26:27 +00:00
|
|
|
buildInputs = [
|
2019-02-16 07:26:04 +00:00
|
|
|
qtwebengine qtscript grantlee kxmlgui kwallet kparts
|
2017-02-18 18:08:57 +00:00
|
|
|
kjobwidgets kdesignerplugin kiconthemes knewstuff sqlcipher qca-qt5
|
2017-05-02 17:13:48 +00:00
|
|
|
kactivities karchive kguiaddons knotifyconfig krunner kwindowsystem libofx
|
2017-02-18 18:08:57 +00:00
|
|
|
];
|
2012-01-08 19:29:28 +00:00
|
|
|
|
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"
|
2018-02-25 15:26:52 +00:00
|
|
|
"-DSKG_WEBENGINE=ON"
|
2020-11-06 13:51:23 +00:00
|
|
|
"-DBUILD_TESTS=ON"
|
2018-02-25 15:15:15 +00:00
|
|
|
];
|
|
|
|
|
2017-05-17 19:26:11 +00:00
|
|
|
meta = with lib; {
|
2017-02-18 18:08:57 +00:00
|
|
|
description = "A personal finances manager, powered by KDE";
|
|
|
|
license = with licenses; [ gpl3 ];
|
|
|
|
maintainers = with maintainers; [ joko ];
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://skrooge.org/";
|
2012-01-08 19:29:28 +00:00
|
|
|
};
|
|
|
|
}
|