* [bug#42754] [PATCH 1/1] gnu: Add yeganesh.
2020-08-08 0:24 ` [bug#42754] " EuAndreh via Guix-patches via
@ 2020-08-08 9:24 ` EuAndreh via Guix-patches via
2020-08-14 12:34 ` [bug#42754] [PATCH 0/1] " Oleg Pykhalov
1 sibling, 0 replies; 6+ messages in thread
From: EuAndreh via Guix-patches via @ 2020-08-08 9:24 UTC (permalink / raw)
To: 42754; +Cc: EuAndreh
* 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 <brice@waegenei.re>
;;; Copyright © 2020 Boris A. Dekshteyn <harlequin78@gmail.com>
;;; Copyright © 2020 Marcin Karpezo <sirmacik@wioo.waw.pl>
+;;; Copyright © 2020 EuAndreh <eu@euandre.org>
;;;
;;; 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#42754] [PATCH 0/1] Add yeganesh.
2020-08-08 0:24 ` [bug#42754] " EuAndreh via Guix-patches via
2020-08-08 9:24 ` [bug#42754] [PATCH 1/1] gnu: " EuAndreh via Guix-patches via
@ 2020-08-14 12:34 ` Oleg Pykhalov
1 sibling, 0 replies; 6+ messages in thread
From: Oleg Pykhalov @ 2020-08-14 12:34 UTC (permalink / raw)
To: 42754; +Cc: EuAndreh, 42754-done
[-- Attachment #1.1: Type: text/plain, Size: 463 bytes --]
Hi,
EuAndreh via Guix-patches via <guix-patches@gnu.org> writes:
> Add yeganesh package, a simple wrapper around dmenu.
>
> Instead of adding it to gnu/packages/suckless.scm where dmenu lives, I put it
> inside gnu/packages/wm.scm where xmonad lives.
>
> That's because it was made with xmonad in mind, and is also written in
> Haskell, as is xmonad.
Thank you. Pushed to master as 9c814c337946f5e70b0dbe45fb54f451b06fe0b2
with small typo fix and formatting:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: patch --]
[-- Type: text/x-patch, Size: 1038 bytes --]
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 5406aa8b99..28c3a3bac6 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -761,11 +761,10 @@ Haskell, no knowledge of the language is required to install and use it.")
("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.")
+ (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
[-- Attachment #1.3: Type: text/plain, Size: 7 bytes --]
Oleg.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply related [flat|nested] 6+ messages in thread