Subject: [bug#79099] [PATCH 19/34] gnu/packages/j*.scm: Use make-git-version.

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

find gnu/packages/ -type f -name "j*.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/jami.scm      |  4 ++--
 gnu/packages/java.scm      |  4 ++--
 gnu/packages/julia-xyz.scm | 10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index 327272170c3..b2fc1fdfadc 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -196,7 +196,7 @@ (define sortfilterproxymodel
       ;; https://github.com/oKcerG/SortFilterProxyModel/blob/
       ;; 5a930885b7ea99f7f41c25fce08bf8006ee54e3f/
       ;; qqmlsortfilterproxymodel.cpp#L574C15-L574C15).
-      (version (git-version "0.2" revision commit))
+      (version (make-git-version "0.2" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -343,7 +343,7 @@ (define-public jami-docs
         (commit "4764cc83ccac2a64d7d9051ad915bbf762c6a624"))
     (package
       (name "jami-docs")
-      (version (git-version "0.0.0" revision commit))
+      (version (make-git-version "0.0.0" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index c24bb0bdd87..98589d69ff1 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2262,7 +2262,7 @@ (define-public drip
   (let ((commit "a4bd00df0199e78243847f06cc04ecaea31f8f08"))
     (package
       (name "drip")
-      (version (git-version "0.2.4" "1" commit))
+      (version (make-git-version "0.2.4" "1" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -14550,7 +14550,7 @@ (define-public tla2tools
          (commit "6932e19083fc6df42473464857fc1280cb5aaecc"))
     (package
       (name "tla2tools")
-      (version (git-version release revision commit))
+      (version (make-git-version release revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index c3c7872786e..9e7b4b85881 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -615,7 +615,7 @@ (define-public julia-biogenerics
         (revision "1"))
     (package
       (name "julia-biogenerics")
-      (version (git-version "0.0.0" revision commit))
+      (version (make-git-version "0.0.0" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -1459,7 +1459,7 @@ (define-public julia-coordinatetransformations
         (revision "1"))
     (package
       (name "julia-coordinatetransformations")
-      (version (git-version "0.6.2" revision commit))
+      (version (make-git-version "0.6.2" revision commit))
       (source
         (origin
           (method git-fetch)
@@ -3743,7 +3743,7 @@ (define-public julia-intervaltrees
         (revision "1"))
     (package
       (name "julia-intervaltrees")
-      (version (git-version "1.0.0" revision commit))
+      (version (make-git-version "1.0.0" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -6000,7 +6000,7 @@ (define-public julia-rotations
         (revision "1"))
     (package
       (name "julia-rotations")
-      (version (git-version "1.0.2" revision commit))
+      (version (make-git-version "1.0.2" revision commit))
       (source
         (origin
           (method git-fetch)
@@ -6032,7 +6032,7 @@ (define-public julia-safetestsets
         (revision "1"))
     (package
       (name "julia-safetestsets")
-      (version (git-version "0.0.1" revision commit))
+      (version (make-git-version "0.0.1" revision commit))
       (source
         (origin
           (method git-fetch)
-- 
2.50.1