diff mbox series

[bug#57737,v5,2/6] gnu: Add emacs-js-comint.

Message ID 20220923183437.18059-2-ngraves@ngraves.fr
State Accepted
Headers show
Series [bug#57737,v5,1/6] gnu: Add emacs-eval-in-repl. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Nicolas Graves Sept. 23, 2022, 6:34 p.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-js-comint): New variable.
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 47a834f91f..41174aab02 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10871,6 +10871,28 @@  (define-public emacs-js2-mode
 strings, and code folding.")
     (license license:gpl3+)))
 
+(define-public emacs-js-comint
+  (package
+    (name "emacs-js-comint")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/js-comint-"
+             version
+             ".el"))
+       (sha256
+        (base32 "1qin0hclm3ly62nl5ddiim64bcd2k74b1yqsqqc61cf9k2q8k287"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/redguardtoo/js-comint")
+    (synopsis "JavaScript interpreter in window")
+    (description
+     "This program is a comint mode for Emacs which allows you to run a compatible
+javascript repl like Node.js/Spidermonkey/Rhino inside Emacs. It also defines a
+few functions for sending javascript input to it quickly.")
+    (license license:gpl3+)))
+
 (define-public emacs-nodejs-repl
   (package
     (name "emacs-nodejs-repl")