Subject: [bug#77714] [PATCH 6/6] gnu: Add emacs-casual.

From: [email-masked]
Date: Thu, 10 Apr 2025 14:05:24 -0400

From: Peter Polidoro <[email-masked]>

* gnu/packages/emacs-xyz.scm (emacs-casual): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0e6bd4ff35..f944476c7a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -35605,6 +35605,34 @@ (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
+  (package
+    (name "emacs-casual")
+    (version "2.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kickingvegas/casual")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1jqk5jzj6ykijaa39rpyg85s1czwa4q2qdfv077vnv57wfknzvfy"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'chdir
+            (lambda _ (chdir "lisp"))))))
+    (propagated-inputs (list emacs-transient))
+    (home-page "https://github.com/kickingvegas/casual")
+    (synopsis "Transient user interfaces for various modes")
+    (description
+     "Casual is a collection of opinionated Transient-based keyboard driven user
+interfaces for various built-in modes.")
+    (license license:gpl3+)))
+
 (define-public emacs-calibredb
   (package
     (name "emacs-calibredb")
-- 
2.49.0