diff options
author | jgart <jgart@dismail.de> | 2022-08-27 10:53:27 -0500 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-09-01 10:53:17 +0300 |
commit | e7fc186ceee2af02bf2febfd79131594eebfdcc6 (patch) | |
tree | b6401fa449f3b8432d6311eb022fa7f7b583b327 | |
parent | b4c2d6d60fe0a929c35439768080b7e15258a7cd (diff) | |
download | guix-e7fc186ceee2af02bf2febfd79131594eebfdcc6.tar guix-e7fc186ceee2af02bf2febfd79131594eebfdcc6.tar.gz |
gnu: Add snafu.
* gnu/packages/suckless.scm (snafu): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/suckless.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index dbc3537ac6..6f31b28b0c 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -33,6 +33,7 @@ (define-module (gnu packages suckless) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages crates-io) #:use-module (gnu packages compression) #:use-module (gnu packages cups) #:use-module (gnu packages fonts) @@ -49,6 +50,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages webkit) #:use-module (gnu packages xorg) + #:use-module (guix build-system cargo) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix download) @@ -1182,6 +1184,33 @@ pipe and compress.") (home-page "https://git.suckless.org/farbfeld/") (license license:isc)))) +(define-public snafu + (let ((commit "e436fb4f61ca93a4ec85122506b2c2d4fec30eb6") + (revision "0")) + (package + (name "snafu") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jsbmg/snafu") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1c6ahxw0qz0703my28k2z0kgi0am5bp5d02l4rgyphgvjk1jfv8h")))) + (arguments + `(#:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4)) + #:tests? #f)) ; There are no tests. + (build-system cargo-build-system) + (home-page "https://github.com/jsbmg/snafu") + (synopsis "Status text for DWM window manager") + (description "@code{snafu} provides status text for DWM's builtin bar. It +shows battery status, battery capacity, current WiFi connection, and the time in +a nice format.") + (license license:isc)))) + (define-public svkbd (package (name "svkbd") |