Subject: [PATCH kde-team 08/63] gnu: Add kholidays-6.

From: Zheng Junjie <[email-masked]>
Date: Mon, 15 Apr 2024 20:46:45 +0800

* gnu/packages/kde-frameworks.scm (kholidays-6): New variable.
(kholidays): Inherit above.

Change-Id: Ic96df5ae5b04e6fdb47c9df127e2a3a1cf428d05
---
 gnu/packages/kde-frameworks.scm | 32 ++++++++++++++++++++++++--------
 1 file changed, 24 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 42045389e7..be84a1c7df 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -937,29 +937,45 @@ (define-public kguiaddons
 interfaces in the areas of colors, fonts, text, images, keyboard input.")
     (license (list license:gpl2+ license:lgpl2.1+))))
 
-(define-public kholidays
+(define-public kholidays-6
   (package
     (name "kholidays")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
                     "mirror://kde/stable/frameworks/"
                     (version-major+minor version) "/"
                     name "-" version ".tar.xz"))
-       (sha256
-        (base32 "19r8dxglz5ll6iyvigsccil3ikvcsnyy5nwcpjvjr1c0brigcjmy"))))
+              (sha256
+               (base32 "02kkp6j7s9qppks9g7akbd1j468pwldvivh235bcsw2pmdciarl3"))))
     (build-system cmake-build-system)
-    (native-inputs
-     (list extra-cmake-modules qttools-5))
-    (inputs
-     (list qtbase-5 qtdeclarative-5))
+    (native-inputs (list extra-cmake-modules qttools))
+    (inputs (list qtbase qtdeclarative))
     (home-page "https://invent.kde.org/frameworks/kholidays")
     (synopsis "Library for regional holiday information")
     (description "This library provides a C++ API that determines holiday and
 other special events for a geographical region.")
     (license license:lgpl2.0+)))
 
+(define-public kholidays
+  (package
+    (inherit kholidays-6)
+    (name "kholidays")
+    (version "5.114.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32 "19r8dxglz5ll6iyvigsccil3ikvcsnyy5nwcpjvjr1c0brigcjmy"))))
+    (native-inputs
+     (list extra-cmake-modules qttools-5))
+    (inputs
+     (list qtbase-5 qtdeclarative-5))))
+
 (define-public ki18n
   (package
     (name "ki18n")
-- 
2.41.0