Emacs: Add stable Cider.

This commit is contained in:
Daniel Ziltener 2024-01-05 13:14:36 +01:00
parent 1dc3c4b89b
commit 836e14abd7
Signed by: zilti
GPG key ID: B38976E82C9DAE42
2 changed files with 42 additions and 1 deletions

View file

@ -6,6 +6,9 @@
(news-file "news.txt") (news-file "news.txt")
(url "https://gitea.lyrion.ch/zilti/guixchannel") (url "https://gitea.lyrion.ch/zilti/guixchannel")
(dependencies (dependencies
(channel
(name emacs)
(url "https://github.com/babariviere/guix-emacs"))
(channel (channel
(name nonguix) (name nonguix)
(url "https://gitlab.com/nonguix/nonguix.git")))) (url "https://gitlab.com/nonguix/nonguix.git"))))

View file

@ -14,9 +14,11 @@
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system emacs) #:use-module (guix build-system emacs)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (emacs build-system melpa)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
#:use-module (ice-9 match)) #:use-module (ice-9 match)
#:use-module (gnu packages emacs-xyz))
(define-public emacs-xref-union (define-public emacs-xref-union
(package (package
@ -44,3 +46,39 @@ You can also manually make use of @code{xref-union} by adding an object
of the form @code{(union XREF-BACKEND-1 XREF-BACKEND-2 ...)} to of the form @code{(union XREF-BACKEND-1 XREF-BACKEND-2 ...)} to
@code{xref-backend-functions}.") @code{xref-backend-functions}.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-cider-1.12.0
(package
(name "emacs-cider")
(version "1.12.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/clojure-emacs/cider.git")
(commit (string-append "v" version))))
(sha256
(base32
"11bibkbv3x0z4ilxra3p91nh8klgg3mg3h4f63pxnnp8fjhqpsph"))))
(build-system melpa-build-system)
(propagated-inputs
(list emacs-clojure-mode
emacs-parseedn
emacs-queue
emacs-spinner
emacs-sesman))
(arguments
'(#:files
("lisp/*.el"
"bin/*.sh"
"*.el"
"clojure.sh"
"lein.sh"
(:exclude ".dir-locals.el"))))
(home-page
"https://www.github.com/clojure-emacs/cider")
(synopsis
"Clojure Interactive Development Environment that Rocks")
(description
"Documentation at https://melpa.org/#/cider")
(license #f)))