diff --git a/pkgs/applications/office/skrooge/2.nix b/pkgs/applications/office/skrooge/2.nix new file mode 100644 index 000000000000..f9be34efd953 --- /dev/null +++ b/pkgs/applications/office/skrooge/2.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl, cmake, ecm, makeQtWrapper, qtwebkit, qtscript, grantlee, + kxmlgui, kwallet, kparts, kdoctools, kjobwidgets, kdesignerplugin, + kiconthemes, knewstuff, sqlcipher, qca-qt5, kdelibs4support, kactivities, + knotifyconfig, krunner, libofx }: + +stdenv.mkDerivation rec { + name = "skrooge-${version}"; + version = "2.4.0"; + + src = fetchurl { + url = "http://download.kde.org/stable/skrooge/${name}.tar.xz"; + sha256 = "132d022337140f841f51420536c31dfe07c90fa3a38878279026825f5d2526fe"; + }; + + nativeBuildInputs = [ cmake ecm makeQtWrapper ]; + + buildInputs = [ qtwebkit qtscript grantlee kxmlgui kwallet kparts kdoctools + kjobwidgets kdesignerplugin kiconthemes knewstuff sqlcipher qca-qt5 + kdelibs4support kactivities knotifyconfig krunner libofx + ]; + + enableParallelBuilding = true; + + postInstall = '' + wrapQtProgram "$out/bin/skrooge" + wrapQtProgram "$out/bin/skroogeconvert" + ''; + + meta = with stdenv.lib; { + description = "A personal finances manager, powered by KDE"; + license = with licenses; [ gpl3 ]; + maintainers = with maintainers; [ joko ]; + homepage = https://skrooge.org/; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3233a67116cb..363eb69ef00d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14714,6 +14714,8 @@ in themes = []; # extra themes, etc. }; + skrooge2 = qt5.callPackage ../applications/office/skrooge/2.nix {}; + slim = callPackage ../applications/display-managers/slim { libpng = libpng12; };