guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

35/347: gnu: Add kunitconversion-6.


From: guix-commits
Subject: 35/347: gnu: Add kunitconversion-6.
Date: Fri, 28 Jun 2024 09:57:31 -0400 (EDT)

z572 pushed a commit to branch kde-team
in repository guix.

commit 1938f4f855ce3f7fef24ca9ac6e7a9fad5d25c23
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Fri Mar 8 22:43:08 2024 +0800

    gnu: Add kunitconversion-6.
    
    * gnu/packages/kde-frameworks.scm (kunitconversion-6): New variable.
    (kunitconversion): Inherit above.
    
    Change-Id: I60b013d30961e8270fa8e33bb327f87a3d3fdb54
---
 gnu/packages/kde-frameworks.scm | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 5b3c6039e7..9e1ed689d8 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2921,10 +2921,10 @@ and communicating with them using a pty.")
      (list kcoreaddons ki18n
            qtbase-5))))
 
-(define-public kunitconversion
+(define-public kunitconversion-6
   (package
     (name "kunitconversion")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -2933,13 +2933,13 @@ and communicating with them using a pty.")
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1qyqvl8fy105zwma5nrkz9zg5932w2f33daw0azhj322iffrm39n"))))
+                "1v1inf8f6dk45qiyba3rk5pgrm5h7h0m3h6f3jrl6f8vskrfcvfz"))))
     (build-system cmake-build-system)
-    (arguments `(#:tests? #f)) ;; Requires network.
     (native-inputs
      (list extra-cmake-modules))
     (inputs
-     (list ki18n qtbase-5))
+     (list ki18n-6 qtbase))
+    (arguments `(#:tests? #f)) ;; Requires network.
     (home-page "https://community.kde.org/Frameworks";)
     (synopsis "Converting physical units")
     (description "KUnitConversion provides functions to convert values in
@@ -2948,6 +2948,25 @@ mega, giga) as well as converting between different unit 
systems (e.g. liters,
 gallons).")
     (license license:lgpl2.1+)))
 
+(define-public kunitconversion
+  (package
+    (inherit kunitconversion-6)
+    (name "kunitconversion")
+    (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
+                "1qyqvl8fy105zwma5nrkz9zg5932w2f33daw0azhj322iffrm39n"))))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list ki18n qtbase-5))))
+
 (define-public syndication
   (package
     (name "syndication")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]