mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-clj-refactor: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-clj-refactor)[arguments]: Add #:test-command. <#:phases>: Add ‘enable-lexical-binding’. [native-inputs]: Add emacs-buttercup.
This commit is contained in:
parent
d8484e7bcc
commit
a6301733ab
1 changed files with 11 additions and 0 deletions
|
@ -15719,6 +15719,16 @@ Clojure projects from templates.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0mha1wqn5hd9g8y0fp35qkhlnxlrwli62x7mbifman279h16gaml"))))
|
(base32 "0mha1wqn5hd9g8y0fp35qkhlnxlrwli62x7mbifman279h16gaml"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:test-command #~(list "buttercup" "-L" "." "-L" "test")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'enable-lexical-binding
|
||||||
|
(lambda _
|
||||||
|
(emacs-batch-edit-file "tests/unit-test.el"
|
||||||
|
'(progn
|
||||||
|
(add-file-local-variable-prop-line 'lexical-binding t)
|
||||||
|
(basic-save-buffer))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list emacs-cider
|
(list emacs-cider
|
||||||
emacs-clojure-mode
|
emacs-clojure-mode
|
||||||
|
@ -15728,6 +15738,7 @@ Clojure projects from templates.")
|
||||||
emacs-paredit
|
emacs-paredit
|
||||||
emacs-parseedn
|
emacs-parseedn
|
||||||
emacs-yasnippet))
|
emacs-yasnippet))
|
||||||
|
(native-inputs (list emacs-buttercup))
|
||||||
(home-page "https://github.com/clojure-emacs/clj-refactor.el")
|
(home-page "https://github.com/clojure-emacs/clj-refactor.el")
|
||||||
(synopsis "Powerful refactoring functionality for Clojure projects")
|
(synopsis "Powerful refactoring functionality for Clojure projects")
|
||||||
(description "This Emacs package complements the refactoring functionality
|
(description "This Emacs package complements the refactoring functionality
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue