blob: 286ecd3ee29deb095ff34506d73fb6ee27ee0864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
(define-module (crn packages lua-xyz))
(use-modules (guix git)
(guix git-download)
(guix gexp)
(guix download)
(guix packages)
(guix licenses)
(guix build-system cmake)
(guix utils)
(gnu packages)
(gnu packages bash)
(gnu packages glib)
(gnu packages linux)
(gnu packages lua)
(gnu packages pkg-config)
(gnu packages python-xyz)
(gnu packages valgrind)
(gnu packages xorg)
(gnu packages web))
(define-public luastatus
(package
(name "luastatus")
(version "0.6.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/shdown/luastatus")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1xyh220par0f8l8ylh6jx0qzskafwy1hi0v1dw22qs0g6nkbj4y2"))))
(build-system cmake-build-system)
(native-inputs (list lua
pkg-config
python-docutils
valgrind))
(inputs (list alsa-lib
bash
xcb-util
yajl
glib
libnl
eudev
libx11
libxcb
xcb-util-wm))
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "../source/tests/misc.sh" ".")
(invoke "../source/tests/torture.sh" ".")))))))
(home-page "https://github.com/shdown/luastatus")
(synopsis "Universal status bar content generator")
(description "Luastatus is a universal status bar content generator.
It allows you to configure the way the data from event sources is
processed and shown, with Lua.")
(license gpl3)))
|