diff mbox series

[bug#57737,v5,6/6] gnu: Add emacs-org-babel-eval-in-repl.

Message ID 20220923183437.18059-6-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-org-babel-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cb133a9d91..267c7c0095 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -243,6 +243,7 @@  (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages finance)
   #:use-module (gnu packages ocaml)
   #:use-module (gnu packages erlang)
+  #:use-module (gnu packages statistics)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27263,6 +27264,35 @@  (define-public emacs-ob-elm
 @code{org-babel-do-load-languages}.")
       (license license:gpl3+))))
 
+(define-public emacs-org-babel-eval-in-repl
+  (package
+    (name "emacs-org-babel-eval-in-repl")
+    (version "1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/org-babel-eval-in-repl-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0bdnps6m3kcvsagz8cfm3kf2rvxzl2p252pfggwbdbl43kzvl35h"))
+       (modules '((guix build utils)))
+       ;; Remove matlab
+       (snippet
+        '(begin (delete-file "eval-in-repl-matlab.el")))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-ess))
+    (home-page "https://github.com/diadochos/org-babel-eval-in-repl")
+    (synopsis "Eval org-mode babel code blocks in various REPLs")
+    (description
+     "This package allows you to execute org-mode (babel) source code blocks with
+eval-in-repl.  It features async execution (because it uses an external
+process) and babel execution without the output written in the buffer (less
+visual distraction, and the output is reproducible as long as the code is
+saved).")
+    (license license:expat)))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")