gnu: emacs-shx: Improve packaging style.

* gnu/packages/emacs-xyz.scm (emacs-shx)[arguments]: Use G-expressions.
[synopsis, description]: Use proper capitalization.
This commit is contained in:
Nicolas Goaziou 2023-01-28 15:25:58 +01:00
parent 8cd115b67e
commit 3d46e8837e
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -7014,23 +7014,23 @@ (define-public emacs-shx
(base32 "1wkqnc5n8if8fsh7f3bdr5nzn6dbj1nzdxlmnz8nflmx4g32fp6v")))) (base32 "1wkqnc5n8if8fsh7f3bdr5nzn6dbj1nzdxlmnz8nflmx4g32fp6v"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
`(#:tests? #t (list
#:tests? #t
#:test-command #:test-command
'("emacs" "--batch" "--quiet" #~(list "emacs" "--batch" "--quiet" "--script" "test/script.el")
"--script" "test/script.el")
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'appease-checkdoc (add-after 'unpack 'appease-checkdoc
(lambda _ (lambda _
(substitute* "shx.el" (substitute* "shx.el"
(("Toggle shx-mode on") "Toggle `shx-mode' on"))))))) (("Toggle shx-mode on") "Toggle `shx-mode' on")))))))
(home-page "https://github.com/riscy/shx-for-emacs") (home-page "https://github.com/riscy/shx-for-emacs")
(synopsis "Extras for the comint-mode shell") (synopsis "Extras for the Comint mode shell")
(description (description
"This package extends @code{comint-mode}: it parses markup in the output "This package extends Comint mode: it parses markup in the output
stream, enabling plots and graphics to be embedded, and adds command-line stream, enabling plots and graphics to be embedded, and adds command-line
functions which plug into Emacs (e.g. use @code{:e <filename>} to edit a functions which plug into Emacs (e.g., use @code{:e <filename>} to edit
file).") a file).")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-names (define-public emacs-names