guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 21/21] gnu: Add xmobar.


From: Paul van der Walt
Subject: [PATCH 21/21] gnu: Add xmobar.
Date: Wed, 4 Nov 2015 21:01:09 +0100

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

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index db5fa1e..4b1d3b1 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -311,3 +311,47 @@ tiling window manager for X.")
 many keyboard controls with repositioning and maximize toggles, solid window
 drags, snap-to-border support, and virtual desktops.")
     (license (x11-style "file:///README"))))
+
+(define-public xmobar
+  (package
+    (name "xmobar")
+    (version "0.23.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/xmobar/xmobar-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0yjnymiw518pjcks0kvpbj73kf0dvl1aj3a40qgmdf5xff1mac9v"))))
+    (build-system haskell-build-system)
+    (arguments
+     ;; Here, we enable a few optional plugins.
+     `(#:configure-flags '("-fwith_iwlib"   ; to display wireless network
+                                            ; status
+                           "-fwith_xft"     ; enable XFT fonts
+                           "-fwith_alsa"))) ; to show system volume
+    (inputs
+     `(("libxpm" ,libxpm)
+       ("wireless-tools" ,wireless-tools)
+       ("ghc-http" ,ghc-http)
+       ("ghc-x11" ,ghc-x11)
+       ("ghc-x11-xft" ,ghc-x11-xft)
+       ("ghc-utf8-string" ,ghc-utf8-string)
+       ("ghc-alsa-core" ,ghc-alsa-core)
+       ("ghc-alsa-mixer" ,ghc-alsa-mixer)
+       ("ghc-mtl" ,ghc-mtl)
+       ("ghc-old-locale" ,ghc-old-locale)
+       ("ghc-parsec" ,ghc-parsec)
+       ("ghc-regex-compat" ,ghc-regex-compat)
+       ("ghc-stm" ,ghc-stm)))
+    (home-page "http://hackage.haskell.org/package/xmobar";)
+    (synopsis "Minimalistic text-based status bar")
+    (description
+     "Xmobar is a minimalistic text-based status bar.  It is inspired by the
+Ion3 status bar, and supports similar features, such as dynamic colour
+management, output templates, and extensibility through plugins.  It was
+originally designed for use with the Xmonad window manager.")
+    (license bsd-3)))
-- 
2.6.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]