gnu: xmobar: Update to 0.25.

* gnu/packages/wm.scm (xmobar): Update to 0.25.
[inputs]: Replace wireless-tools with (upstream-)unbundled ghc-iwlib.
[arguments]: Add ‘with_weather’ to listified #:configure-flags.
This commit is contained in:
Tobias Geerinckx-Rice 2018-02-01 12:58:29 +01:00
parent a710199606
commit d2ea806436
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -15,6 +15,7 @@
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com> ;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -503,27 +504,34 @@ (define-public xmonad
(define-public xmobar (define-public xmobar
(package (package
(name "xmobar") (name "xmobar")
(version "0.24.5") (version "0.25")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://hackage/package/xmobar/" (uri (string-append "mirror://hackage/package/xmobar/"
name "-" version ".tar.gz")) name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0sdzfj2wa4wpig1i2i5n9qpwm90jp88qifsmaa7j37yhhs6snfir")))) "0382r4vzqkz76jlp2069rdbwf4gh1a22r9w4rkphcn5qflw0dlb6"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(inputs (inputs
`(("ghc-http" ,ghc-http) `(("ghc-hinotify" ,ghc-hinotify)
("ghc-http" ,ghc-http)
("ghc-iwlib" ,ghc-iwlib)
("ghc-parsec" ,ghc-parsec) ("ghc-parsec" ,ghc-parsec)
("ghc-regex-compat" ,ghc-regex-compat) ("ghc-regex-compat" ,ghc-regex-compat)
("ghc-stm" ,ghc-stm) ("ghc-stm" ,ghc-stm)
("ghc-x11-xft" ,ghc-x11-xft) ("ghc-x11-xft" ,ghc-x11-xft)
("ghc-hinotify" ,ghc-hinotify) ("libxpm" ,libxpm)))
("libxpm" ,libxpm)
("wireless-tools" ,wireless-tools)))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
'("--flags=with_utf8 with_xft with_xpm with_inotify with_iwlib"))) (list (string-append "--flags="
(string-join (list "with_inotify"
"with_iwlib"
"with_utf8"
"with_weather"
"with_xft"
"with_xpm")
" ")))))
(home-page "http://xmobar.org") (home-page "http://xmobar.org")
(synopsis "Minimalistic text based status bar") (synopsis "Minimalistic text based status bar")
(description (description