From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 56004@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>, Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [bug#56004] [PATCH v2] gnu: Add snafu.
Date: Sat, 27 Aug 2022 10:53:27 -0500 [thread overview]
Message-ID: <20220827155326.26026-1-jgart@dismail.de> (raw)
In-Reply-To: <20220616021931.19816-1-jgart@dismail.de>
* gnu/packages/suckless.scm (snafu): New variable.
Here's v2 with your suggestions added. Thanks!
---
gnu/packages/suckless.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index dbc3537ac6..d971de10f0 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 @@ (define-module (gnu packages suckless)
#: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,35 @@ (define-public farbfeld
(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")
--
2.37.2
next prev parent reply other threads:[~2022-08-27 15:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 2:19 [bug#56004] [PATCH] gnu: Add snafu jgart via Guix-patches via
2022-07-07 20:52 ` Maxim Cournoyer
2022-08-27 15:53 ` jgart via Guix-patches via [this message]
2022-09-01 8:18 ` bug#56004: [PATCH v2] " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220827155326.26026-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=56004@debbugs.gnu.org \
--cc=jgart@dismail.de \
--cc=maxim.cournoyer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).