summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-09-26 17:41:55 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:16 +0100
commit5c34774871e38ac1d863d6fe5682fa5bb4c79113 (patch)
tree8c3403cf003b010e09e025088aa7c406e3c1711a /gnu
parente10e5f691d0a334187eab269b8164a753167036a (diff)
downloadguix-5c34774871e38ac1d863d6fe5682fa5bb4c79113.tar.gz
gnu: Add kcalc.
* gnu/packages/kde-utils.scm (kcalc): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-utils.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm
index abdac5b07c..ec1c622259 100644
--- a/gnu/packages/kde-utils.scm
+++ b/gnu/packages/kde-utils.scm
@@ -39,6 +39,7 @@
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
@@ -460,6 +461,35 @@ drive, USB stick, etc
 @end itemize")
     (license license:gpl2+)))
 
+(define-public kcalc
+  (package
+    (name "kcalc")
+    (version "22.08.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/release-service/"
+                                  version "/src/kcalc-" version ".tar.xz"))
+              (sha256
+               (base32
+                "01rn6qy40q4b90i5mysrygkqh5fzq885dgcd11l6r8s59ijjcjlk"))))
+    (build-system qt-build-system)
+    (native-inputs (list extra-cmake-modules kdoctools))
+    (inputs (list gmp
+                  kcoreaddons
+                  kcrash
+                  kconfig
+                  kconfigwidgets
+                  kguiaddons
+                  ki18n
+                  knotifications
+                  kxmlgui
+                  mpfr))
+    (home-page "https://apps.kde.org/kcalc/")
+    (synopsis "Scientific calculator")
+    (description
+     "This package provides a scientific calculator.")
+    (license license:gpl2+)))
+
 (define-public kdialog
   (package
     (name "kdialog")