gnu: emacs-csound-mode: Improve package style.

* gnu/packages/emacs-xyz.scm (emacs-csound-mode)[arguments]: Use
G-expressions.
<phases>: Use MAKE-FILE-WRITABLE instead of CHMOD. Remove trailing #T.
[description]: Use complete sentences.
This commit is contained in:
Nicolas Goaziou 2022-10-25 11:51:10 +02:00
parent 861a6f7f46
commit 2f6cc86f40
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -31991,22 +31991,21 @@ (define-public emacs-csound-mode
"0kfhca1n0iv1400jf4ggjbarg7ry8ccd5bs7cf2brjdiqp74cvwb"))))
(build-system emacs-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-breaking-compilation
(lambda _
(for-each (lambda (file)
(chmod file #o600) ; needed to write changes.
(emacs-batch-disable-compilation file))
'("csound-font-lock.el"))
#t)))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'disable-breaking-compilation
(lambda _
(let ((file "csound-font-lock.el"))
(make-file-writable file)
(emacs-batch-disable-compilation file)))))))
(propagated-inputs
(list emacs-dash emacs-highlight emacs-multi emacs-shut-up))
(home-page "https://github.com/hlolli/csound-mode")
(synopsis "Emacs major mode for coding in CSound")
(description "Provides both a basic major mode for editing
CSound files, as well as a REPL for fast feedback when composing
and sound-designing.")
(description "This package provides both a basic major mode for editing
CSound files, as well as a REPL for fast feedback when composing and
sound-designing using CSound.")
(license license:gpl3+))))
(define-public emacs-multi