summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-02-01 16:56:39 +0100
committerCayetano Santos <csantosb@inventati.org>2026-02-01 17:06:19 +0100
commit9aa8afe1dea8e1bc9d41e505368ee7a1d3a564be (patch)
treefb9102558ed78e48a2db396da2859d0a0eac2cd5 /gnu
parent161209777c9288dd7d1d1c960da1cbae397deefe (diff)
gnu: emacs-racket-mode: Update to 1-9.71f27c6.
* gnu/packages/emacs-xyz.scm (emacs-racket-mode): Update to 1-9.71f27c6. [propagated-inputs]: Remove emacs-faceup, emacs-paredit, and emacs-s. [native-inputs]: Add emacs-faceup, emacs-paredit, and texinfo. [arguments]: Add ’configure and ’make-info #:phases. Change-Id: I1a75c5928f2c8b68805cfd545738e93fc5fdc836
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm29
1 files changed, 17 insertions, 12 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index efd06a92acd..bbd3c12a8fd 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31026,11 +31026,9 @@ perform regression test for packages that provide font-lock rules.")
(license license:gpl3+))))
(define-public emacs-racket-mode
- ;; XXX: Upstream does not tag releases, nor does it bump versions. The
- ;; "1" version below does not exist. It might change, tho. See
- ;; <https://github.com/greghendershott/racket-mode/issues/389>.
- (let ((commit "7f2813da48baf980f1ae188f651dafa98ba951cd")
- (revision "8"))
+ ;; XXX: Upstream does not tag releases, nor does it bump versions.
+ (let ((commit "71f27c643dadf70847e447e773760df6df48fe5a")
+ (revision "9"))
(package
(name "emacs-racket-mode")
(version (git-version "1" revision commit))
@@ -31043,7 +31041,7 @@ perform regression test for packages that provide font-lock rules.")
(file-name (git-file-name name version))
(sha256
(base32
- "124zr2432kqyjak516mrc801kdkmb2072c906j942mf0zwjvh16v"))))
+ "1a2h6hmylh1hih7ndn4avp9x462vgc45pf7w325kd7kkz8m6sy39"))))
(build-system emacs-build-system)
(arguments
(list
@@ -31053,14 +31051,21 @@ perform regression test for packages that provide font-lock rules.")
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
- (setenv "HOME" (dirname (getcwd)))
- (substitute* "test/racket-tests.el"
- (("\\(ert-deftest racket-tests/(repl|run) .*" all)
- (string-append all "(skip-unless nil)"))))))))
+ (setenv "HOME" (dirname (getcwd)))))
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "racket-custom.el"
+ ("racket-program"
+ (search-input-file inputs "bin/racket")))))
+ (add-after 'unpack 'make-info
+ (lambda _
+ (with-directory-excursion "doc"
+ (invoke "makeinfo" "-o"
+ "../racket-mode.info" "racket-mode.texi")))))))
(native-inputs
- (list racket))
+ (list emacs-faceup emacs-paredit racket texinfo))
(propagated-inputs
- (list emacs-faceup emacs-paredit emacs-pos-tip emacs-s))
+ (list emacs-pos-tip))
(home-page "https://www.racket-mode.com/")
(synopsis "Major mode for the Racket language")
(description "Racket mode provides thorough font-lock and indentation.