gnu: emacs-evil-nerd-commenter: Handle tests.

* gnu/packages/emacs-xyz.scm (emacs-evil-nerd-commenter)[arguments]:
Add #:test-command and set up phases for testing.
Disable tests.
[native-inputs]: Add emacs-web-mode.
This commit is contained in:
Liliana Marie Prikler 2025-03-13 20:42:59 +01:00
parent 82380f3ada
commit fc05dbcea7
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -19112,7 +19112,19 @@ pasting into and from @code{tmux} paste buffers.")
(base32 (base32
"1xi4sd75pzhgcd9lzhx18hlzbrwh5q9gbscb1971qn94mzxwd60r")))) "1xi4sd75pzhgcd9lzhx18hlzbrwh5q9gbscb1971qn94mzxwd60r"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (list #:test-command #~(list "make" "test")
#:tests? #f ; XXX: broken docstring
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-Makefile
(lambda _
(substitute* "Makefile"
(("-Q") "")
(("-L [^.]*") "")
(("deps/") "")
((" deps") "")))))))
(propagated-inputs (list emacs-evil)) (propagated-inputs (list emacs-evil))
(native-inputs (list emacs-web-mode))
(home-page "https://github.com/redguardtoo/evil-nerd-commenter") (home-page "https://github.com/redguardtoo/evil-nerd-commenter")
(synopsis "Comment and uncomment lines efficiently") (synopsis "Comment and uncomment lines efficiently")
(description (description