Subject: [bug#42754] [PATCH 1/1] gnu: Add yeganesh.

From: EuAndreh <[email-masked]>
Date: Sat, 8 Aug 2020 06:24:21 -0300

* gnu/packages/wm.scm (yeganesh): New variable.
---
 gnu/packages/wm.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index bc3c152627..32bb35b4c6 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2020 Brice Waegeneire <[email-masked]>
 ;;; Copyright © 2020 Boris A. Dekshteyn <[email-masked]>
 ;;; Copyright © 2020 Marcin Karpezo <[email-masked]>
+;;; Copyright © 2020 EuAndreh <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -742,6 +743,30 @@ is also usable with any other window manager.  While xmobar is written in
 Haskell, no knowledge of the language is required to install and use it.")
     (license license:bsd-3)))
 
+(define-public yeganesh
+  (package
+    (name "yeganesh")
+    (version "2.4")
+    (source
+     (origin
+
+       (method url-fetch)
+       (uri (string-append "http://dmwit.com/yeganesh/yeganesh-" version ".tar.gz"))
+       (sha256
+        (base32 "04djfyjab3c5y9z9x8zd0xcx0jyy35zq7cl9ddr4ppf6k5ky6iky"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-strict" ,ghc-strict)
+       ("ghc-xdg-basedir" ,ghc-xdg-basedir)))
+    (home-page "http://dmwit.com/yeganesh/")
+    (synopsis "Small wrapper around dmenu")
+    (description
+     "@code{yeganesh} is a small wrapper around demnu.  Like dmenu,
+it accepts input on stdin and writes the chosen result on stdout.  Unlike dmenu,
+it mangles the input before it presents its choices.  In particular,it displays
+commonly-chosen options before uncommon ones.")
+    (license license:bsd-3)))
+
 (define-public ghc-xmonad-contrib
   (package
     (name "ghc-xmonad-contrib")
-- 
2.27.0