diff mbox series

[bug#39338] gnu: Add emacs-dmenu.

Message ID 20200129001536.12628-1-mab@gnu.org
State Accepted
Headers show
Series [bug#39338] gnu: Add emacs-dmenu. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Amin Bandali Jan. 29, 2020, 12:15 a.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-dmenu): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Comments

Nicolas Goaziou Feb. 2, 2020, 2:06 p.m. UTC | #1
Hello,

Amin Bandali <mab@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-dmenu): New variable.

Applied as 2b19087496f0449c839e6c96cfeb952c5f6d8607. Thank you!

Regards,
Amin Bandali Feb. 3, 2020, 5:09 a.m. UTC | #2
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Amin Bandali <mab@gnu.org> writes:
>
>> * gnu/packages/emacs-xyz.scm (emacs-dmenu): New variable.
>
> Applied as 2b19087496f0449c839e6c96cfeb952c5f6d8607. Thank you!
>
> Regards,

Thank you, Nicolas!

-a
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e834dfffb3..cb472f5532 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21237,3 +21237,27 @@  mode-line text (lighter) of major and minor modes.")
       (description "@code{unkillable-scratch} helps prevent killing buffers
 matching a given regexp.")
       (license license:gpl2+))))
+
+(define-public emacs-dmenu
+  ;; Use the latest commit, as there are no tagged releases.
+  (let ((commit "e8cc9b27c79d3ecc252267c082ab8e9c82eab264")
+        (revision "0"))
+    (package
+      (name "emacs-dmenu")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/lujun9972/el-dmenu.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "098ncygms1r33zhjlq4fj2p4jc91v5whqrm3fazzdk7sd6dilf25"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/lujun9972/el-dmenu")
+      (synopsis "Simulate the @command{dmenu} command line program")
+      (description "This package provides a @command{dmenu} command
+for launching other commands/applications from within Emacs, similar
+to the @command{dmenu} program.  Especially useful when using EXWM.")
+      (license license:gpl3+))))