* gnu/packages/i3.scm (i3status): New variable. --- gnu/packages/i3.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+)
diff --git a/gnu/packages/i3.scm b/gnu/packages/i3.scm index 8895a28..23755fa 100644 --- a/gnu/packages/i3.scm +++ b/gnu/packages/i3.scm @@ -59,6 +59,44 @@ functions and nested include statements). It makes it very easy to add configuration file capability to a program using a simple API. ") (license isc))) +(define-public i3status + (package + (name "i3status") + (version "2.9") + (source (origin + (method url-fetch) + (uri (string-append "http://i3wm.org/i3status/i3status-" + version ".tar.bz2")) + (sha256 + (base32 + "1qwxbrga2fi5wf742hh9ajwa8b2kpzkjjnhjlz4wlpv21i80kss2")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check)))) + (inputs + `(("openlibm" ,openlibm) + ("libconfuse" ,libconfuse) + ("libyajl" ,libyajl) + ("alsa-lib" ,alsa-lib) + ("wireless-tools" ,wireless-tools) + ("libcap" ,libcap) + ("asciidoc" ,asciidoc))) + (home-page "http://i3wm.org/i3status/") + (synopsis "Generating a status bar for i3bar, dzen2, xmobar or +similar programs") + (description "i3status is a small program for generating a status +bar for i3bar, dzen2, xmobar or similar programs. It is designed to +be very efficient by issuing a very small number of system calls, as +one generally wants to update such a status line every second. This +ensures that even under high load, your status bar is updated +correctly. Also, it saves a bit of energy by not hogging your CPU as +much as spawning the corresponding amount of shell commands would.") + (license bsd-3))) + (define-public i3-wm (package (name "i3-wm") -- 2.4.3