nixpkgs/pkgs/applications/office/skrooge/default.nix

41 lines
1.3 KiB
Nix
Raw Normal View History

2017-05-17 21:26:11 +02:00
{ mkDerivation, lib, fetchurl,
cmake, extra-cmake-modules, qtwebkit, 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 21:26:11 +02:00
mkDerivation rec {
name = "skrooge-${version}";
version = "2.12.0";
src = fetchurl {
2016-01-03 12:18:48 +01:00
url = "http://download.kde.org/stable/skrooge/${name}.tar.xz";
sha256 = "0f7jwl05y4gjwasjcbsx2rrva81abyf0hgdbkh7h3dl7nxz9h6g1";
};
nativeBuildInputs = [
cmake extra-cmake-modules kdoctools shared-mime-info
];
buildInputs = [
qtwebkit qtscript grantlee kxmlgui kwallet kparts
kjobwidgets kdesignerplugin kiconthemes knewstuff sqlcipher qca-qt5
kactivities karchive kguiaddons knotifyconfig krunner kwindowsystem libofx
];
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"
];
2017-05-17 21:26:11 +02:00
meta = with lib; {
description = "A personal finances manager, powered by KDE";
license = with licenses; [ gpl3 ];
maintainers = with maintainers; [ joko ];
homepage = https://skrooge.org/;
};
}