summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnustep.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/gnustep.scm b/gnu/packages/gnustep.scm
index edd159d2623..ae97eb79366 100644
--- a/gnu/packages/gnustep.scm
+++ b/gnu/packages/gnustep.scm
@@ -1,5 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2016 Kei Yamashita <kei@openmailbox.org>
3;;; 4;;;
4;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
5;;; 6;;;
@@ -22,6 +23,10 @@
22 #:use-module (guix build-system gnu) 23 #:use-module (guix build-system gnu)
23 #:use-module (guix licenses) 24 #:use-module (guix licenses)
24 #:use-module (gnu packages xorg) 25 #:use-module (gnu packages xorg)
26 #:use-module (gnu packages gnome)
27 #:use-module (gnu packages texinfo)
28 #:use-module (gnu packages autotools)
29 #:use-module (gnu packages glib)
25 #:use-module (gnu packages fontutils) 30 #:use-module (gnu packages fontutils)
26 #:use-module (gnu packages image) 31 #:use-module (gnu packages image)
27 #:use-module (gnu packages pkg-config)) 32 #:use-module (gnu packages pkg-config))
@@ -83,3 +88,42 @@ interface. It is fast, feature rich, easy to configure, and easy to use.")
83 88
84 ;; Artwork is distributed under the WTFPL. 89 ;; Artwork is distributed under the WTFPL.
85 (license gpl2+))) 90 (license gpl2+)))
91
92(define-public wmbattery
93 (package
94 (name "wmbattery")
95 (version "2.50")
96 (source (origin
97 (method url-fetch)
98 (uri (string-append
99 "mirror://debian/pool/main/w/wmbattery/wmbattery_"
100 version ".orig.tar.gz"))
101 (sha256
102 (base32
103 "0hi6bivv3xd2k68w08krndfl68wdx7nmc2wjzsmcd4q3qgwgyk44"))))
104 (build-system gnu-build-system)
105 (arguments
106 `(#:tests? #f ; no "check" target
107 #:phases
108 (modify-phases %standard-phases
109 (add-after 'unpack 'autoconf
110 (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
111 (inputs
112 `(("glib" ,glib)
113 ("libx11" ,libx11)
114 ("libxext" ,libxext)
115 ("libxpm" ,libxpm)
116 ("upower" ,upower)))
117 (native-inputs
118 `(("autoconf" ,autoconf)
119 ("automake" ,automake)
120 ("pkg-config" ,pkg-config)))
121 (home-page "http://windowmaker.org/dockapps/?name=wmbattery")
122 (synopsis "Display laptop battery info")
123 (description
124 "Wmbattery displays the status of your laptop's battery in a small icon.
125This includes if it is plugged in, if the battery is charging, how many minutes
126of battery life remain, battery life remaining (with both a percentage and a
127graph), and battery status (high - green, low - yellow, or critical - red).")
128 (license gpl2)))
129