summary refs log tree commit diff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2022-06-11 20:08:16 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-06-12 13:19:24 +0200
commit9c036f2dfb8f25b7eb40bc6946845183e0a54d2e (patch)
tree28cb044a6d15468c978d8215e9d0f0a93d4ecc3a
parenta473d74ff1fb462394cf93d882b14139ccd01ce1 (diff)
downloadguix-9c036f2dfb8f25b7eb40bc6946845183e0a54d2e.tar.gz
gnu: Add emacs-corfu-doc-terminal.
* gnu/packages/emacs-xyz.scm (emacs-corfu-doc-terminal): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/emacs-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9839e464cf..06f35d79e4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31613,6 +31613,33 @@ parallel fetching of tiles with cURL, and more.")
 with popups, which also work in the terminal.")
       (license license:gpl3+))))
 
+(define-public emacs-corfu-doc-terminal
+  ;; Upstream does not tag releases, version taken from package header.
+  (let ((commit "d8945c64b52d76e864b767b3048674f222daf80b")
+        (revision "0"))
+    (package
+      (name "emacs-corfu-doc-terminal")
+      (version (git-version "0.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://codeberg.org/akib/emacs-corfu-doc-terminal")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0j0dd8np5x93wic22bc5i9h7bq2gj700n4fh11dzzgsj14lv2r5k"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       (list emacs-corfu emacs-corfu-doc emacs-corfu-terminal emacs-popon))
+      (home-page "https://codeberg.org/akib/emacs-corfu-doc-terminal/")
+      (synopsis "Replace corfu docmentation child frames with popups")
+      (description
+       "This package replaces the child frames @code{emacs-corfu-doc} uses
+with popups, which also work in the terminal.")
+      (license license:gpl3+))))
+
 (define-public emacs-popon
   ;; Upstream does not tag releases.  The commit below matches the version
   ;; bump.