diff --git a/pkgs/applications/kde-apps-15.12/default.nix b/pkgs/applications/kde-apps-15.12/default.nix index 15982cb5d64..71527ba855e 100644 --- a/pkgs/applications/kde-apps-15.12/default.nix +++ b/pkgs/applications/kde-apps-15.12/default.nix @@ -38,6 +38,7 @@ let gpgmepp = callPackage ./gpgmepp.nix {}; gwenview = callPackage ./gwenview.nix {}; kate = callPackage ./kate.nix {}; + kcalc = callPackage ./kcalc.nix {}; kdegraphics-thumbnailers = callPackage ./kdegraphics-thumbnailers.nix {}; kdenetwork-filesharing = callPackage ./kdenetwork-filesharing.nix {}; kgpg = callPackage ./kgpg.nix { inherit (pkgs.kde4) kdepimlibs; }; diff --git a/pkgs/applications/kde-apps-15.12/kcalc.nix b/pkgs/applications/kde-apps-15.12/kcalc.nix new file mode 100644 index 00000000000..a1f0316825d --- /dev/null +++ b/pkgs/applications/kde-apps-15.12/kcalc.nix @@ -0,0 +1,38 @@ +{ kdeApp +, lib +, extra-cmake-modules +, kdoctools +, makeQtWrapper +, kconfig +, kconfigwidgets +, kguiaddons +, kinit +, knotifications + +}: + +kdeApp { + name = "kcalc"; + + nativeBuildInputs = [ + extra-cmake-modules + kdoctools + ]; + + buildInputs = [ + kconfig + kconfigwidgets + kguiaddons + kinit + knotifications + ]; + + postInstall = '' + wrapQtProgram "$out/bin/kcalc" + ''; + + meta = { + license = with lib.licenses; [ gpl2 ]; + maintainers = [ lib.maintainers.fridh ]; + }; +}