mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 20:10:39 +02:00
gnu: Add emacs-geiser-racket.
* gnu/packages/emacs-xyz.scm (emacs-geiser-racket): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
7c1065030d
commit
ae88e30a0f
1 changed files with 44 additions and 0 deletions
|
@ -186,6 +186,7 @@
|
||||||
#:use-module (gnu packages package-management)
|
#:use-module (gnu packages package-management)
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages pdf)
|
#:use-module (gnu packages pdf)
|
||||||
|
#:use-module (gnu packages racket)
|
||||||
#:use-module (gnu packages ruby)
|
#:use-module (gnu packages ruby)
|
||||||
#:use-module (gnu packages rust-apps)
|
#:use-module (gnu packages rust-apps)
|
||||||
#:use-module (gnu packages scheme)
|
#:use-module (gnu packages scheme)
|
||||||
|
@ -357,6 +358,49 @@ using geiser.")
|
||||||
a generic Scheme interaction mode for the GNU Emacs editor.")
|
a generic Scheme interaction mode for the GNU Emacs editor.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public emacs-geiser-racket
|
||||||
|
(package
|
||||||
|
(name "emacs-geiser-racket")
|
||||||
|
(version "0.16")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://gitlab.com/emacs-geiser/racket.git")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1aqsvmk1hi7kc3j4h8xlza7c6rwm71v98fv5wpw8kmyj9vsp49wx"))))
|
||||||
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:include (cons "^src/" %default-include)
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'make-autoloads 'patch-autoloads
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(substitute* (string-append
|
||||||
|
(elpa-directory (assoc-ref outputs "out"))
|
||||||
|
"/geiser-racket-autoloads.el")
|
||||||
|
;; Activating implementations fails when Geiser is not yet
|
||||||
|
;; loaded, so let's defer that until it is.
|
||||||
|
(("\\(geiser-activate-implementation .*\\)" all)
|
||||||
|
(string-append
|
||||||
|
"(eval-after-load 'geiser-impl '" all ")"))
|
||||||
|
(("\\(geiser-implementation-extension .*\\)" all)
|
||||||
|
(string-append
|
||||||
|
"(eval-after-load 'geiser-impl '" all ")")))
|
||||||
|
#t)))))
|
||||||
|
(inputs
|
||||||
|
`(("racket" ,racket)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("geiser" ,emacs-geiser)))
|
||||||
|
(home-page "https://nongnu.org/geiser/")
|
||||||
|
(synopsis "Racket support for Geiser")
|
||||||
|
(description
|
||||||
|
"This package adds support for the Racket implementation to Geiser,
|
||||||
|
a generic Scheme interaction mode for the GNU Emacs editor.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public emacs-vc-hgcmd
|
(define-public emacs-vc-hgcmd
|
||||||
(package
|
(package
|
||||||
(name "emacs-vc-hgcmd")
|
(name "emacs-vc-hgcmd")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue