diff options
| author | Thanos Apollo <public@thanosapollo.org> | 2026-05-04 09:58:35 +0300 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-05-10 19:00:41 +0200 |
| commit | fc27102e8acb1972702d0cd2155b1a53e9abd9e7 (patch) | |
| tree | 62009fc2fbaf2f234b5baf0cab6623022875decb | |
| parent | fcd85e7ca8f0f064d8434156e1bc3e4f169294f1 (diff) | |
gnu: emacs-cider: Update to 1.21.0.
* gnu/packages/emacs-xyz.scm (emacs-cider): Update to 1.21.0.
[source]: Update hash.
[arguments]<#:lisp-directory>: Add; source moved to lisp/.
<#:include>: Remove; lein.sh and clojure.sh no longer exist.
<#:phases>: Replace 'check with directory excursion to project
root for eldev test discovery.
Merges guix/guix!8347
Change-Id: I698027569489a8a87d8097787a39dfb9d6b29e4d
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 43dcb56783..9be75583da 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -20436,7 +20436,7 @@ implementation.") (define-public emacs-cider (package (name "emacs-cider") - (version "1.20.0") + (version "1.21.0") (source (origin (method git-fetch) @@ -20445,26 +20445,30 @@ implementation.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "08hd281ybskkhir170hr3xpga1b1hwpph7rd0fk6fvm0ngdgxazs")))) + (base32 "19wx9mc488qipm08s7hc0zrfmiylw577lmf3jpvqcjq7amx14jgc")))) (build-system emacs-build-system) (arguments (list - #:include #~(cons* "^lein\\.sh$" "^clojure\\.sh$" %default-include) - #:exclude ;don't exclude 'cider-test.el' - #~(list "^\\.dir-locals\\.el$" "^test/") + #:lisp-directory "lisp" #:test-command #~(list "eldev" "--use-emacsloadpath" "-dtT" "-p" "test") + #:exclude + #~(list "^\\.dir-locals\\.el$" "^test/") #:phases - ;; XXX: file "test/cider-tests.el" contains a bogus "/bin/command" - ;; string, and `patch-el-files' phase chokes on it (even though the - ;; file is excluded from installation). Remove the phase altogether - ;; since there is no "/bin/executable" to replace in the code base - ;; anyway. #~(modify-phases %standard-phases (delete 'patch-el-files) - (add-before 'check 'skip-failing-tests - (lambda _ ;; Require network. - (delete-file "test/cider-jar-tests.el")))))) + (add-after 'unpack 'remove-network-tests + (lambda _ + (delete-file "../test/cider-jar-tests.el"))) + (replace 'check + (lambda* (#:key test-command tests? + #:allow-other-keys) + (when tests? + (with-directory-excursion ".." + (setenv "EMACSLOADPATH" + (string-append (getcwd) ":" + (getenv "EMACSLOADPATH"))) + (apply invoke test-command)))))))) (native-inputs (list emacs-buttercup emacs-eldev)) (propagated-inputs (list emacs-clojure-mode |
