~ruther/guix-local

017dd0c7e204233e1561aefb3c8dbd46ad484d16 — Nicolas Goaziou 2 years ago 66b20dc
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
1 files changed, 33 insertions(+), 23 deletions(-)

M gnu/packages/emacs-xyz.scm
M gnu/packages/emacs-xyz.scm => gnu/packages/emacs-xyz.scm +33 -23
@@ 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