about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2021-03-16 17:48:38 -0400
committerSamuel Dionne-Riel <samuel@dionne-riel.com>2021-10-05 23:21:44 -0400
commit094eb89b7eaa513284c4aa33512a42dd49890399 (patch)
treebc09f8fd393a6a9d665eee0f5b58e740d3952f4a /pkgs/applications
parent546b930bd8dfdc69502e42c4615a83e75f629be7 (diff)
kalk: init at 21.05
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/plasma-mobile/default.nix1
-rw-r--r--pkgs/applications/plasma-mobile/kalk.nix50
2 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/applications/plasma-mobile/default.nix b/pkgs/applications/plasma-mobile/default.nix
index 8196c92ef8157..7c57f1d9a9d67 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 0000000000000..8d63991fb0808
--- /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 ];
+  };
+}