mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 10:30:43 +02:00
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
This commit is contained in:
parent
eaa0987a30
commit
6659e1bfac
1 changed files with 36 additions and 39 deletions
|
@ -6218,46 +6218,43 @@ current match, total matches and exit status.
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public emacs-go-mode
|
(define-public emacs-go-mode
|
||||||
;; XXX: Upstream did not tag last release. The commit below matches version
|
(package
|
||||||
;; bump.
|
(name "emacs-go-mode")
|
||||||
(let ((commit "3273fcece5d9ab7edd4f15b2d6bce61f4e5a0666"))
|
(version "1.6.0")
|
||||||
(package
|
(source (origin
|
||||||
(name "emacs-go-mode")
|
(method git-fetch)
|
||||||
(version "1.6.0")
|
(uri (git-reference
|
||||||
(source (origin
|
(url "https://github.com/dominikh/go-mode.el")
|
||||||
(method git-fetch)
|
(commit (string-append "v" version))))
|
||||||
(uri (git-reference
|
(file-name (git-file-name name version))
|
||||||
(url "https://github.com/dominikh/go-mode.el")
|
(sha256
|
||||||
(commit commit)))
|
(base32
|
||||||
(file-name (git-file-name name version))
|
"00qzn136d8cl3szbi44xf3iiv75r6n1m7wwgldmzn4i5mpz8dbq7"))))
|
||||||
(sha256
|
(arguments
|
||||||
(base32
|
(list
|
||||||
"00qzn136d8cl3szbi44xf3iiv75r6n1m7wwgldmzn4i5mpz8dbq7"))))
|
#:tests? #t
|
||||||
(arguments
|
#:test-command #~(list "ert-runner")
|
||||||
(list
|
#:phases
|
||||||
#:tests? #t
|
#~(modify-phases %standard-phases
|
||||||
#:test-command #~(list "ert-runner")
|
(add-before 'check 'fix-tests
|
||||||
#:phases
|
;; Two tests fail because they (wrongly) assume we run them from
|
||||||
#~(modify-phases %standard-phases
|
;; the "test" sub-directory. Fix their expectations.
|
||||||
(add-before 'check 'fix-tests
|
(lambda _
|
||||||
;; Two tests fail because they (wrongly) assume we run them from
|
(let ((test-file "test/go-indentation-test.el"))
|
||||||
;; the "test" sub-directory. Fix their expectations.
|
(make-file-writable test-file)
|
||||||
(lambda _
|
(substitute* test-file
|
||||||
(let ((test-file "test/go-indentation-test.el"))
|
(("testdata/indentation_tests/" all)
|
||||||
(make-file-writable test-file)
|
(string-append "test/" all)))
|
||||||
(substitute* test-file
|
(ert-number-tests "test/go-fill-paragraph-test.el"
|
||||||
(("testdata/indentation_tests/" all)
|
"go--fill-paragraph-block-region")))))))
|
||||||
(string-append "test/" all)))
|
(build-system emacs-build-system)
|
||||||
(ert-number-tests "test/go-fill-paragraph-test.el"
|
(native-inputs (list emacs-ert-runner))
|
||||||
"go--fill-paragraph-block-region")))))))
|
(home-page "https://github.com/dominikh/go-mode.el")
|
||||||
(build-system emacs-build-system)
|
(synopsis "Go mode for Emacs")
|
||||||
(native-inputs (list emacs-ert-runner))
|
(description
|
||||||
(home-page "https://github.com/dominikh/go-mode.el")
|
"This package provides go-mode, an Emacs mode for working with software
|
||||||
(synopsis "Go mode for Emacs")
|
|
||||||
(description
|
|
||||||
"This package provides go-mode, an Emacs mode for working with software
|
|
||||||
written in the Go programming language.")
|
written in the Go programming language.")
|
||||||
(license license:bsd-3))))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public emacs-google-maps
|
(define-public emacs-google-maps
|
||||||
;; There has been no new release tag since 2013.
|
;; There has been no new release tag since 2013.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue