Subject: [bug#66077] [PATCH v2 06/23] DRAFT import: juliahub: Correct source parsing.

From: Simon Tournier <[email-masked]>
Date: Mon, 18 Sep 2023 20:03:13 +0200

From: Nicolas Graves via Guix-patches via <[email-masked]>

Signed-off-by: Simon Tournier <[email-masked]>
---
 guix/import/juliahub.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/guix/import/juliahub.scm b/guix/import/juliahub.scm
index 4544dee98016..4c3ceed10904 100644
--- a/guix/import/juliahub.scm
+++ b/guix/import/juliahub.scm
@@ -160,7 +160,11 @@ (define* (juliahub->guix-package package-name
                      (juliahub-fetch package-name))))
     (if package
         (let-values (((source directory)
-                     (git->origin+dir url `(tag-or-commit . ,package-version))))
+                      (git->origin+dir
+                       (juliahub-package-url package)
+                       `(tag-or-commit
+                         . ,(string-append
+                             "v" (juliahub-package-version package))))))
           (let* ((dependencies-names
                   (map juliahub-dependency-name
                        (juliahub-package-direct-dependencies package)))
-- 
2.38.1