diff mbox series

[bug#57737,v5,5/6] gnu: Add emacs-ob-elm.

Message ID 20220923183437.18059-5-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-ob-elm): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9db49cd8a7..cb133a9d91 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27238,6 +27238,31 @@  (define-public emacs-eval-in-repl-javascript
   (make-emacs-eval-in-repl "javascript"))
 
 
+(define-public emacs-ob-elm
+  (let ((commit "d3a9fbc2f56416894c9aed65ea9a20cc1d98f15d")
+        (revision "0"))
+    (package
+      (name "emacs-ob-elm")
+      (version (git-version "0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/BonfaceKilz/ob-elm")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1wdlr0cbsb2drdmcn2bnivjkj1f2v52l6yizwsnjgi4xq3w6k56h"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/BonfaceKilz/ob-elm")
+      (synopsis "Org-Babel support for evaluating Elm code")
+      (description
+"This package adds Org-Babel support for evaluating Elm code, which can be
+enabled by adding @code{(elm . t)} to the variable
+@code{org-babel-do-load-languages}.")
+      (license license:gpl3+))))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")