gnu: Update xmobar to 0.31.
* gnu/packages/wm.scm (xmobar): Update to 0.31. [arguments]: Remove the previous configure flags and set the 'all_extensions' flag; add a 'patch-test-shebang' phase. [inputs]: Add 'ghc-alsa-core', 'ghc-alsa-mixer', 'ghc-dbus', 'ghc-http-conduit', 'ghc-http-types', 'ghc-libmpd', 'ghc-old-locale', 'ghc-temporary', 'ghc-timezone-olson', and 'ghc-x11'. Signed-off-by: Timothy Sample <samplet@ngyro.com>
This commit is contained in:
parent
d05f32d6f4
commit
b066ad895d
1 changed files with 22 additions and 12 deletions
|
@ -24,6 +24,7 @@
|
||||||
;;; Copyright © 2019 Kyle Andrews <kyle.c.andrews@gmail.com>
|
;;; Copyright © 2019 Kyle Andrews <kyle.c.andrews@gmail.com>
|
||||||
;;; Copyright © 2019 Ingo Ruhnke <grumbel@gmail.com>
|
;;; Copyright © 2019 Ingo Ruhnke <grumbel@gmail.com>
|
||||||
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
|
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
|
||||||
|
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -649,36 +650,45 @@ tiled on several screens.")
|
||||||
(define-public xmobar
|
(define-public xmobar
|
||||||
(package
|
(package
|
||||||
(name "xmobar")
|
(name "xmobar")
|
||||||
(version "0.28")
|
(version "0.31")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://hackage/package/xmobar/"
|
(uri (string-append "mirror://hackage/package/xmobar/"
|
||||||
"xmobar-" version ".tar.gz"))
|
"xmobar-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1xh87asg8y35srvp7d3gyyy4bkxsw122liihxgzgm8pqv2z3h4zd"))))
|
"1sbxva4zaj060bigmxivpn4zlz0q1qbq2np8gljdqkjvysjzpbka"))))
|
||||||
(build-system haskell-build-system)
|
(build-system haskell-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ghc-hspec" ,ghc-hspec)
|
`(("ghc-hspec" ,ghc-hspec)
|
||||||
("hspec-discover" ,hspec-discover)))
|
("hspec-discover" ,hspec-discover)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("ghc-hinotify" ,ghc-hinotify)
|
`(("ghc-alsa-core" ,ghc-alsa-core)
|
||||||
|
("ghc-alsa-mixer" ,ghc-alsa-mixer)
|
||||||
|
("ghc-dbus" ,ghc-dbus)
|
||||||
|
("ghc-hinotify" ,ghc-hinotify)
|
||||||
("ghc-http" ,ghc-http)
|
("ghc-http" ,ghc-http)
|
||||||
|
("ghc-http-conduit" ,ghc-http-conduit)
|
||||||
|
("ghc-http-types" ,ghc-http-types)
|
||||||
("ghc-iwlib" ,ghc-iwlib)
|
("ghc-iwlib" ,ghc-iwlib)
|
||||||
|
("ghc-libmpd" ,ghc-libmpd)
|
||||||
|
("ghc-old-locale" ,ghc-old-locale)
|
||||||
("ghc-parsec-numbers" ,ghc-parsec-numbers)
|
("ghc-parsec-numbers" ,ghc-parsec-numbers)
|
||||||
("ghc-regex-compat" ,ghc-regex-compat)
|
("ghc-regex-compat" ,ghc-regex-compat)
|
||||||
|
("ghc-temporary" ,ghc-temporary)
|
||||||
|
("ghc-timezone-olson" ,ghc-timezone-olson)
|
||||||
|
("ghc-x11" ,ghc-x11)
|
||||||
("ghc-x11-xft" ,ghc-x11-xft)
|
("ghc-x11-xft" ,ghc-x11-xft)
|
||||||
("libxpm" ,libxpm)))
|
("libxpm" ,libxpm)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags (list "--flags=all_extensions")
|
||||||
(list (string-append "--flags="
|
#:phases
|
||||||
(string-join (list "with_inotify"
|
(modify-phases %standard-phases
|
||||||
"with_iwlib"
|
(add-before 'build 'patch-test-shebang
|
||||||
"with_utf8"
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
"with_weather"
|
(substitute* "test/Xmobar/Plugins/Monitors/AlsaSpec.hs"
|
||||||
"with_xft"
|
(("/bin/bash") (which "bash")))
|
||||||
"with_xpm")
|
#t)))))
|
||||||
" ")))))
|
|
||||||
(home-page "http://xmobar.org")
|
(home-page "http://xmobar.org")
|
||||||
(synopsis "Minimalistic text based status bar")
|
(synopsis "Minimalistic text based status bar")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue