Subject: [bug#71090] [PATCH] gnu: Add emacs-context-transient.

From: Nicolas Graves <[email-masked]>
Date: Tue, 21 May 2024 08:51:08 +0200

* gnu/packages/emacs-xyz.scm (emacs-context-transient): New variable.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4eadf5e2273..260e9d682ba 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -39376,6 +39376,29 @@ (define-public emacs-consult-lsp
 by leveraging @code{emacs-consult} APIs.")
     (license license:expat)))
 
+(define-public emacs-context-transient
+  (let ((commit "16b8e16645ebcdc44d2777ba16ac85e1d3ee468b")
+        (revision "0"))
+    (package
+      (name "emacs-context-transient")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/licht1stein/context-transient.el")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "147yv3ih9il6a4k2cw1kcqgdpls83jf7aspjf8km650ry0apycc6"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/licht1stein/context-transient.el")
+      (synopsis "Context specific transients")
+      (description "This package makes it easy to define and call
+context-specific @code{emacs-transient} menus for current project, git repo,
+buffer or any other condition.")
+      (license license:gpl3+))))
+
 (define-public emacs-purs-mode
   ;; XXX: Upstream set no tag nor any Version keyword.  Using 0 as the base
   ;; version.
-- 
2.41.0