gnu: emacs-lua-mode: Update to 20221027-1.d07e413.

* gnu/packages/emacs-xyz.scm (emacs-lua-mode): Update to 20221027-1.d07e413.
[arguments]<#phases>: Ignore tests incompatible with Buttercup 1.34.

Change-Id: I8be93311fe87d5d5ab6c0c981936935ecd2956e3
This commit is contained in:
Nicolas Goaziou 2024-03-18 14:22:16 +01:00
parent 66b20dc567
commit 017dd0c7e2
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -16188,30 +16188,40 @@ (define-public emacs-sly-package-inferred
(license license:gpl3+))))
(define-public emacs-lua-mode
(package
(name "emacs-lua-mode")
(version "20210802")
(home-page "https://github.com/immerrr/lua-mode/")
(source
(origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0r3svhggdml2n256k3b0zmbjnw51p46gan6dg07bhavpfrqs5196"))))
(build-system emacs-build-system)
(arguments
`(#:tests? #t
#:test-command '("buttercup" "-l" "lua-mode.el")))
(native-inputs
(list emacs-buttercup lua))
(synopsis "Major mode for lua")
(description
"This Emacs package provides a mode for @uref{https://www.lua.org/,
(let ((commit "d074e4134b1beae9ed4c9b512af741ca0d852ba3")
(revision "1"))
(package
(name "emacs-lua-mode")
(version (git-version "20221027" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/immerrr/lua-mode/")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "00gvrmw8pll0cl7srygh2kmbf0g44sk9asj5sm77qvhr8jz4xkkq"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #t
#:test-command #~(list "buttercup" "-l" "lua-mode.el")
#:phases
#~(modify-phases %standard-phases
;; XXX: These tests are not compatible with Buttercup, and cause
;; build to fail. Remove them until they are fixed by upstream.
(add-after 'unpack 'remove-faulty-tests
(lambda _
(delete-file "test/test-indentation.el"))))))
(native-inputs
(list emacs-buttercup lua))
(home-page "https://github.com/immerrr/lua-mode/")
(synopsis "Major mode for Lua")
(description
"This Emacs package provides a mode for @uref{https://www.lua.org/,
Lua programming language}.")
(license license:gpl2+)))
(license license:gpl2+))))
(define-public emacs-ebuild-mode
(package