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