diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-03-18 14:22:16 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-03-18 14:25:32 +0100 |
commit | 017dd0c7e204233e1561aefb3c8dbd46ad484d16 (patch) | |
tree | 45ea888477cf416f079d47f49987c3c2fcec672d | |
parent | 66b20dc567ed9801ab55209fc412e4db92d7b0b0 (diff) |
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
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 56 |
1 files changed, 33 insertions, 23 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 7e02fc0ed20..fccd5d87d68 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -16188,30 +16188,40 @@ using package inferred style.") (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 |