--- Begin Message ---
Subject: |
[PATCH] gnu: Add xmobar. |
Date: |
Sun, 23 Jul 2017 21:31:51 +0300 |
gnu/packages/wm.scm (xmobar): New variable.
---
gnu/packages/wm.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index f901fc1d5..57e2ab0ee 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -382,6 +382,39 @@ used on each workspace. Xinerama is fully supported,
allowing windows to be
tiled on several screens.")
(license license:bsd-3)))
+(define-public xmobar
+ (package
+ (name "xmobar")
+ (version "0.24.5")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://hackage/package/xmobar/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0sdzfj2wa4wpig1i2i5n9qpwm90jp88qifsmaa7j37yhhs6snfir"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-http" ,ghc-http)
+ ("ghc-parsec" ,ghc-parsec)
+ ("ghc-regex-compat" ,ghc-regex-compat)
+ ("ghc-stm" ,ghc-stm)
+ ("ghc-x11-xft" ,ghc-x11-xft)
+ ("ghc-hinotify" ,ghc-hinotify)
+ ("libxpm" ,libxpm)
+ ("wireless-tools" ,wireless-tools)))
+ (arguments
+ `(#:configure-flags
+ '("--flags=with_utf8 with_xft with_xpm with_inotify with_iwlib")))
+ (home-page "https://hackage.haskell.org/package/xmobar")
+ (synopsis "Minimalistic text based status bar")
+ (description
+ "@code{xmobar} is a lightweight, text-based, status bar written in
+Haskell. It was originally designed to be used together with Xmonad, but it
+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 ghc-xmonad-contrib
(package
(name "ghc-xmonad-contrib")
--
2.13.3
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#27800] [PATCH] gnu: Add xmobar. |
Date: |
Sun, 23 Jul 2017 15:33:24 -0400 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
On Sun, Jul 23, 2017 at 09:31:51PM +0300, Oleg Pykhalov wrote:
> gnu/packages/wm.scm (xmobar): New variable.
Thanks!
I added your name the copyright headers of 'gnu/packages/wm.scm' and ...
> + (home-page "https://hackage.haskell.org/package/xmobar")
... changed this to <http://xmobar.org>, which is listed as the
home-page on that hackage page, and pushed as
6e864d0081779f4bde3607fa7ea02bbb52f7ce3f.
signature.asc
Description: PGP signature
--- End Message ---