From df0e8e29e6927097d0f3403d877a0d853ec00df6 Mon Sep 17 00:00:00 2001 From: jgart Date: Tue, 8 Jul 2025 13:28:43 -0500 Subject: gnu: Add emacs-firefox-javascript-repl. * gnu/packages/emacs-xyz.scm (emacs-firefox-javascript-repl): New variable. Change-Id: I6867ee1b57c55767836d67cb255f895fefda8c2b --- gnu/packages/emacs-xyz.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index c0eda1c2f1..d479994b5f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -108,7 +108,7 @@ ;;; Copyright © 2021, 2022 Taiju HIGASHI ;;; Copyright © 2022 Brandon Lucas ;;; Copyright © 2022 Jai Vetrivelan -;;; Copyright © 2022, 2023 jgart +;;; Copyright © 2022, 2023, 2025 jgart ;;; Copyright © 2022 Dominic Martinez ;;; Copyright © 2022 Peter Polidoro ;;; Copyright © 2022 Luis Felipe López Acevedo @@ -26222,6 +26222,30 @@ extra resources, such as buffers and processes, to be cleaned up after the object has been freed.") (license license:unlicense))) +(define-public emacs-firefox-javascript-repl + (package + (name "emacs-firefox-javascript-repl") + (version "0.9.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://elpa.gnu.org/packages/firefox-javascript-repl-" version + ".tar")) + (sha256 + (base32 "07qmp6hfzgljrl9gkwy673xk67b3bgxq4kkw2kzr8ma4a7lx7a8l")))) + (build-system emacs-build-system) + (home-page "https://elpa.gnu.org/packages/firefox-javascript-repl.html") + (synopsis "Jack into Firefox") + (description + "This package provides a way to REPL into a new Firefox instance's +@code{JavaScript} engine. A new throwaway Firefox profile directory is +created before each run, so you won't need to modify your existing profiles. +This mode takes care of starting the new Firefox process in debugging mode, +which may be tedious to do by hand. This comint mode is barebones and +unstructured, meant for quick @code{JavaScript} experiments.") + (license license:gpl3+))) + (define-public emacs-emacsql (package (name "emacs-emacsql") -- cgit v1.2.3