Subject: [PATCH] gnu: Add emacs-literate-calc-mode.
From: [email-masked]
To: [email-masked]
Cc: Morgan Smith <[email-masked]>
Date: Fri, 3 Jul 2020 22:15:24 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Morgan Smith <[email-masked]>

* gnu/packages/emacs-xyz.scm (emacs-literate-calc-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d829a38add..3cfb8c4ad6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3520,6 +3520,28 @@ in Lisp modes.")
       (description "This package provides dynamic evaluation in Emacs.")
       (license license:gpl3+))))
 
+(define-public emacs-literate-calc-mode
+  (package
+   (name "emacs-literate-calc-mode")
+   (version "20200703.723")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append "https://melpa.org/packages/literate-calc-mode-"
+                         version ".el"))
+     (sha256
+      (base32
+       "1ck5ha12jrs6sfhhf3yaydji49bzakrk59agspg5xynxv22aka1v"))))
+   (build-system emacs-build-system)
+   (propagated-inputs
+    `(("emacs-s" ,emacs-s)))
+   (home-page "https://github.com/sulami/literate-calc-mode.el")
+   (synopsis "Literate programming for Emacs calc")
+   (description "Displays inline results for calculations, supports
+variables and updates as you type (if you want).  Also works in your
+favourite markup mode.")
+   (license license:gpl3+)))
+
 (define-public emacs-string-inflection
   (package
     (name "emacs-string-inflection")
-- 
2.27.0