diff --git a/pkgs/applications/plasma-mobile/default.nix b/pkgs/applications/plasma-mobile/default.nix index 8196c92ef815..7c57f1d9a9d6 100644 --- a/pkgs/applications/plasma-mobile/default.nix +++ b/pkgs/applications/plasma-mobile/default.nix @@ -61,6 +61,7 @@ let inherit mkDerivation; }; in { + kalk = callPackage ./kalk.nix {}; }; in lib.makeScope libsForQt5.newScope packages diff --git a/pkgs/applications/plasma-mobile/kalk.nix b/pkgs/applications/plasma-mobile/kalk.nix new file mode 100644 index 000000000000..8d63991fb080 --- /dev/null +++ b/pkgs/applications/plasma-mobile/kalk.nix @@ -0,0 +1,50 @@ +{ lib +, mkDerivation + +, cmake +, extra-cmake-modules +, bison +, flex + +, gmp +, mpfr + +, kconfig +, kcoreaddons +, ki18n +, kirigami2 +, kunitconversion +, qtfeedback +, qtquickcontrols2 +}: + +mkDerivation rec { + pname = "kalk"; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + bison + flex + ]; + + buildInputs = [ + gmp + mpfr + + kconfig + kcoreaddons + ki18n + kirigami2 + kunitconversion + qtfeedback + qtquickcontrols2 + ]; + + meta = with lib; { + description = "Calculator built with kirigami"; + homepage = "https://invent.kde.org/plasma-mobile/kalk"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ samueldr ]; + }; +}