summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-05-30 16:57:29 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-05-30 23:02:34 +0900
commit6659e1bfac2e9edba0edabc5aaa3941c1c413f51 (patch)
tree996824750a5ed7aab3a40e01faa58da20fac3407
parenteaa0987a301ed5c5111c2dc2286039051879b50a (diff)
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
-rw-r--r--gnu/packages/emacs-xyz.scm75
1 files 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.