mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
69e4da7a6c
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
44 lines
1.4 KiB
Nix
44 lines
1.4 KiB
Nix
{ 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
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "skrooge";
|
|
version = "2.26.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.kde.org/stable/skrooge/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-66hoA+FDTeMbNAInr9TlTSnwUywJQjTRz87MkdNYn5Q=";
|
|
};
|
|
|
|
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
|
|
];
|
|
|
|
# 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"
|
|
"-DSKG_WEBKIT=OFF"
|
|
"-DBUILD_TESTS=ON"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A personal finances manager, powered by KDE";
|
|
license = with licenses; [ gpl3 ];
|
|
maintainers = with maintainers; [ joko ];
|
|
homepage = "https://skrooge.org/";
|
|
};
|
|
}
|