diff mbox series

[bug#72008] gnu: Add emacs-casual-calc.

Message ID a9c2d114c045a4bf814773157f3ad84d14c22e5a.1720533132.git.peter@polidoro.io
State New
Headers show
Series [bug#72008] gnu: Add emacs-casual-calc. | expand

Commit Message

Peter Polidoro July 9, 2024, 1:52 p.m. UTC
From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/emacs-xyz.scm (emacs-casual-calc): New variable.

Change-Id: I7c2816534481d8602d91be2309c7561393f70f65
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)


base-commit: c6f4757ed2c78c63e642703805867caf5d0ab277
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ae588f4913..288c0aaaf5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33133,6 +33133,33 @@  (define-public emacs-cascading-dir-locals
 all of your projects, then override or add variables on a per-project basis.")
       (license license:gpl3+))))
 
+(define-public emacs-casual-calc
+  (package
+    (name "emacs-casual-calc")
+    (version "1.10.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kickingvegas/casual-calc")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0qdi6p3aybg0zwscf35l2dx51q7h4rz2g7r4xf7ml520dag7h5cw"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'chdir
+            (lambda _ (chdir "lisp"))))))
+    (propagated-inputs (list emacs-casual-lib))
+    (home-page "https://github.com/kickingvegas/casual-calc")
+    (synopsis "Transient-based porcelain for calc")
+    (description
+     "Casual Calc is an opinionated Transient-based porcelain for Emacs Calc.")
+    (license license:gpl3+)))
+
 (define-public emacs-casual-dired
   (package
     (name "emacs-casual-dired")