gnu: emacs-flycheck: Improve package style.

* gnu/packages/emacs-xyz.scm (emacs-flycheck)[arguments]: Use
G-expressions.  Remove trailing #T.
This commit is contained in:
Nicolas Goaziou 2022-02-18 21:10:33 +01:00
parent aaa4f5193c
commit 905783b7cd
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1654,20 +1654,22 @@ supports type hints, definition-jumping, completion, and more.")
(native-inputs (native-inputs
(list emacs-shut-up)) (list emacs-shut-up))
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
(add-after 'unpack 'change-flycheck-version #~(modify-phases %standard-phases
(lambda _ (add-after 'unpack 'change-flycheck-version
(substitute* "flycheck.el" (lambda _
(("\\(pkg-info-version-info 'flycheck\\)") (substitute* "flycheck.el"
(string-append "\"" ,version "\""))) (("\\(pkg-info-version-info 'flycheck\\)")
#t))) (string-append "\"" #$version "\""))))))
;; TODO: many failing tests ;; TODO: many failing tests
#:tests? #f #:tests? #f
#:test-command '("emacs" "-Q" "--batch" "-L" "." #:test-command
"--load" "test/flycheck-test" #~(list "emacs" "-Q" "--batch"
"--load" "test/run.el" "-L" "."
"-f" "flycheck-run-tests-main"))) "--load" "test/flycheck-test"
"--load" "test/run.el"
"-f" "flycheck-run-tests-main")))
(home-page "https://www.flycheck.org") (home-page "https://www.flycheck.org")
(synopsis "On-the-fly syntax checking") (synopsis "On-the-fly syntax checking")
(description (description