summary refs log tree commit diff
path: root/gnu/packages/kde-utils.scm
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-09-26 17:39:26 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:15 +0100
commit319c7712f67b5d37e2d588f44aca65b0fffdd061 (patch)
tree79ea0cf56bc21db7c07b42aee8a7d43147ce2109 /gnu/packages/kde-utils.scm
parent092472904b6449dc5ea4f76bed2b767fd373cdac (diff)
downloadguix-319c7712f67b5d37e2d588f44aca65b0fffdd061.tar.gz
gnu: Add kontrast.
* gnu/packages/kde-utils.scm (kontrast): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu/packages/kde-utils.scm')
-rw-r--r--gnu/packages/kde-utils.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm
index e74b4f6e8c..67ba0b9568 100644
--- a/gnu/packages/kde-utils.scm
+++ b/gnu/packages/kde-utils.scm
@@ -588,6 +588,33 @@ with support for QR scanning.")
       (license ;GPL for programs, LGPL for libraries
                (list license:gpl2+ license:lgpl2.0)))))
 
+(define-public kontrast
+  (package
+    (name "kontrast")
+    (version "22.08.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/release-service/"
+                                  version "/src/kontrast-" version ".tar.xz"))
+              (sha256
+               (base32
+                "03y3y5p29zx4nmqi7hp3abxq2n2bgwbz2knhn9vhl3im3ghp7lmp"))))
+    (build-system qt-build-system)
+    (native-inputs (list extra-cmake-modules))
+    (inputs (list kirigami
+                  ki18n
+                  kcoreaddons
+                  qtdeclarative-5
+                  qtgraphicaleffects
+                  qtquickcontrols2-5
+                  qtsvg-5))
+    (home-page "https://apps.kde.org/kontrast/")
+    (synopsis "Color contrast checker")
+    (description
+     "Kontrast is a color contrast checker and tells you if your color
+combinations are distinct enough to be readable and accessible.")
+    (license license:gpl3+)))
+
 (define-public libatcore
   (let ((commit "0de6393ed3e721537dec50b0ad174d83f1207eb6")
         (revision "1"))