Subject: [PATCH 20/34] gnu/packages/k*.scm: Use make-git-version.

From: Nicolas Graves <[email-masked]>
Date: Sat, 26 Jul 2025 04:39:26 +0200

find gnu/packages/ -type f -name "k*.scm" -exec sed -i 's/(git-version /(make-git-version /g' {} +

Then manually checked the potential usage of `version` on the build-side.
---
 gnu/packages/kde-pim.scm    |  2 +-
 gnu/packages/kde-plasma.scm |  2 +-
 gnu/packages/kde-utils.scm  | 14 +++++++-------
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index 3f713bb7c23..82711e355c1 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -1974,7 +1974,7 @@ (define-public kpeoplevcard
     ;; use unreleased commit for KF6 supports.
     (package
       (name "kpeoplevcard")
-      (version (git-version "0.1" revision commit))
+      (version (make-git-version "0.1" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 7742a3ffbf2..dfa58c26c9c 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -2409,7 +2409,7 @@ (define-public plasma-pass
         (revision "0"))
     (package
       (name "plasma-pass")
-      (version (git-version "1.2.2" revision commit))
+      (version (make-git-version "1.2.2" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm
index bc79975bef8..4cb3891a489 100644
--- a/gnu/packages/kde-utils.scm
+++ b/gnu/packages/kde-utils.scm
@@ -139,7 +139,7 @@ (define-public atelier
         (revision "1"))
     (package
       (name "atelier")
-      (version (git-version "0.1-pre" revision commit))
+      (version (make-git-version "0.1-pre" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -178,7 +178,7 @@ (define-public basket
         (revision "2"))
     (package
       (name "basket")
-      (version (git-version "2.49" revision commit))
+      (version (make-git-version "2.49" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -233,7 +233,7 @@ (define-public fielding
         (revision "2"))
     (package
       (name "fielding")
-      (version (git-version "0.1-pre" revision commit))
+      (version (make-git-version "0.1-pre" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -614,7 +614,7 @@ (define-public keurocalc
         (revision "2"))
     (package
       (name "keurocalc")
-      (version (git-version "1.3.0" revision commit))
+      (version (make-git-version "1.3.0" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -704,7 +704,7 @@ (define-public kirogi
         (revision "1"))
     (package
       (name "kirogi")
-      (version (git-version "0.1-pre" revision commit))
+      (version (make-git-version "0.1-pre" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -786,7 +786,7 @@ (define-public libatcore
         (revision "1"))
     (package
       (name "libatcore")
-      (version (git-version "1.0.0" revision commit))
+      (version (make-git-version "1.0.0" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -921,7 +921,7 @@ (define-public krename
          (revision "0"))
     (package
       (name "krename")
-      (version (git-version "5.0.2" revision commit))
+      (version (make-git-version "5.0.2" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
-- 
2.50.1