This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 6659e1bfac gnu: emacs-go-mode: Use release tag.
6659e1bfac is described below

commit 6659e1bfac2e9edba0edabc5aaa3941c1c413f51
Author: Maxim Cournoyer <maxim.courno...@gmail.com>
AuthorDate: Fri May 30 16:57:29 2025 +0900

    gnu: emacs-go-mode: Use release tag.
    
    * gnu/packages/emacs-xyz.scm (emacs-go-mode)
    [source]: Use the release tag, now that it's available.
    
    Change-Id: I11e93a06a49e066cbcd4ee3f96fb4d4cfc25302f
---
 gnu/packages/emacs-xyz.scm | 75 ++++++++++++++++++++++------------------------
 1 file changed, 36 insertions(+), 39 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d69ddce5bf..0dfe5128fa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6218,46 +6218,43 @@ current match, total matches and exit status.
       (license license:gpl3+))))
 
 (define-public emacs-go-mode
-  ;; XXX: Upstream did not tag last release.  The commit below matches version
-  ;; bump.
-  (let ((commit "3273fcece5d9ab7edd4f15b2d6bce61f4e5a0666"))
-    (package
-      (name "emacs-go-mode")
-      (version "1.6.0")
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/dominikh/go-mode.el";)
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "00qzn136d8cl3szbi44xf3iiv75r6n1m7wwgldmzn4i5mpz8dbq7"))))
-      (arguments
-       (list
-        #:tests? #t
-        #:test-command #~(list "ert-runner")
-        #:phases
-        #~(modify-phases %standard-phases
-            (add-before 'check 'fix-tests
-              ;; Two tests fail because they (wrongly) assume we run them from
-              ;; the "test" sub-directory.  Fix their expectations.
-              (lambda _
-                (let ((test-file "test/go-indentation-test.el"))
-                  (make-file-writable test-file)
-                  (substitute* test-file
-                    (("testdata/indentation_tests/" all)
-                     (string-append "test/" all)))
-                  (ert-number-tests "test/go-fill-paragraph-test.el"
-                                    "go--fill-paragraph-block-region")))))))
-      (build-system emacs-build-system)
-      (native-inputs (list emacs-ert-runner))
-      (home-page "https://github.com/dominikh/go-mode.el";)
-      (synopsis "Go mode for Emacs")
-      (description
-       "This package provides go-mode, an Emacs mode for working with software
+  (package
+    (name "emacs-go-mode")
+    (version "1.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/dominikh/go-mode.el";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "00qzn136d8cl3szbi44xf3iiv75r6n1m7wwgldmzn4i5mpz8dbq7"))))
+    (arguments
+     (list
+      #:tests? #t
+      #:test-command #~(list "ert-runner")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'fix-tests
+            ;; Two tests fail because they (wrongly) assume we run them from
+            ;; the "test" sub-directory.  Fix their expectations.
+            (lambda _
+              (let ((test-file "test/go-indentation-test.el"))
+                (make-file-writable test-file)
+                (substitute* test-file
+                  (("testdata/indentation_tests/" all)
+                   (string-append "test/" all)))
+                (ert-number-tests "test/go-fill-paragraph-test.el"
+                                  "go--fill-paragraph-block-region")))))))
+    (build-system emacs-build-system)
+    (native-inputs (list emacs-ert-runner))
+    (home-page "https://github.com/dominikh/go-mode.el";)
+    (synopsis "Go mode for Emacs")
+    (description
+     "This package provides go-mode, an Emacs mode for working with software
 written in the Go programming language.")
-      (license license:bsd-3))))
+    (license license:bsd-3)))
 
 (define-public emacs-google-maps
   ;; There has been no new release tag since 2013.

Reply via email to