(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)))