From patchwork Sun Oct 20 16:15:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Matei Pintilie X-Patchwork-Id: 69168 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 04C9727BBEA; Sun, 20 Oct 2024 20:06:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6084227BBE2 for ; Sun, 20 Oct 2024 20:06:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2bFH-000387-J7; Sun, 20 Oct 2024 15:05:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2bFC-000375-S5 for guix-patches@gnu.org; Sun, 20 Oct 2024 15:05:40 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2bFB-0006o8-D1 for guix-patches@gnu.org; Sun, 20 Oct 2024 15:05:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Cijr70+Qw2rhFj6zaPHz9S52PA2F9xM9oKWJ9zFGu4s=; b=lz5oKzfT1ThYJ4r7GD4Nw6jRam80/PkkesjUzT8az0eAY/W7QAWwCXJ7+YShSEPgy9Tnae/malrBYdzRzBO92nlsZKW0uq16tjgf/g/zlPDA2UjFbLFjRxrpwzOHTOuQRM8DqSLgO/cY9OFZFS0amTzj5keJ40oRI0NMGgZALdrTETLwl0V+aNejrb2AZnrWRqv7SXGFKA2d6/VsJeymYZ5i7r/xsQI9FoQazu4I/2V0VEkmY3avh4/2GU4QJZCzXaiApx8Ef3CDPR39lvd/OW8CDSs8lj6gejJHYeNvFLlAXGt2qZlMziTpvuFKH1DI8f4Eay75BInp/uPXsbUzbQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2bFa-0007uH-Qk for guix-patches@gnu.org; Sun, 20 Oct 2024 15:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73884] [PATCH v1 19/19] gnu: Add swayrbar Resent-From: Luca Matei Pintilie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Oct 2024 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73884 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73884@debbugs.gnu.org Cc: Luca Matei Pintilie Received: via spool by 73884-submit@debbugs.gnu.org id=B73884.172945112829971 (code B ref 73884); Sun, 20 Oct 2024 19:06:02 +0000 Received: (at 73884) by debbugs.gnu.org; 20 Oct 2024 19:05:28 +0000 Received: from localhost ([127.0.0.1]:48511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2bF1-0007nE-NJ for submit@debbugs.gnu.org; Sun, 20 Oct 2024 15:05:28 -0400 Received: from out-172.mta1.migadu.com ([95.215.58.172]:16046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2Yba-0008Ek-UH for 73884@debbugs.gnu.org; Sun, 20 Oct 2024 12:16:36 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lucamatei.com; s=key1; t=1729440963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Cijr70+Qw2rhFj6zaPHz9S52PA2F9xM9oKWJ9zFGu4s=; b=EQjUJNMe8Grg5gFtIIU5I3zD3xFsh3QdIfHmXUG4KvhYvgS9iJTIxOxDEJYFl6eE4aQgac sUvwMGNjCJ6YjD5QNL/KdDgOfQZT7qI5ZYwZFp22TH6r28qWkxGGV9jLeDXPFJW6yULVXV uuUjm76p8NrhY306TfYfRjyOoxDE6eHnLs4d8KrSpQ/zyDcsiWVsNDON3aWwfSfGubKDMm 3ASqp8XsZTQ0Pq5bNqhUFjZ8+OjrPo3MSW5kb60gXIeh16OCfIKUieRYf3PID5AE1m3nu4 IhVfTfOkSz+1etIDupZai7S/cXw7v3iz+gtbpwVldu39gAZCsoYMw84gdxKDSg== Date: Sun, 20 Oct 2024 18:15:56 +0200 Message-ID: <20241020161556.25798-4-luca@lucamatei.com> In-Reply-To: <20241020161556.25798-1-luca@lucamatei.com> References: <20241020161556.25798-1-luca@lucamatei.com> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Mailman-Approved-At: Sun, 20 Oct 2024 15:05:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Luca Matei Pintilie X-ACL-Warn: , Luca Matei Pintilie via Guix-patches X-Patchwork-Original-From: Luca Matei Pintilie via Guix-patches via From: Luca Matei Pintilie Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Change-Id: I5b700cc0feeb8a5fcc86ac77188d27afc7a6da5d --- gnu/packages/rust-apps.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 12205ef1aa..5ff20b38e2 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -3105,6 +3105,42 @@ (define-public swayr daemon which executes them.") (license license:gpl3+))) +(define-public swayrbar + (package + (name "swayrbar") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "swayrbar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05jpa87i6q1cpikyqqliy3q2ksslj79kgin8jq9ls6073yk5q6z7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=config::test_load_swayrbar_config") + #:cargo-inputs (("rust-battery" ,rust-battery-0.7) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-directories" ,rust-directories-5) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-rt-format" ,rust-rt-format-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-swaybar-types" ,rust-swaybar-types-3) + ("rust-swayipc" ,rust-swayipc-3) + ("rust-sysinfo" ,rust-sysinfo-0.31) + ("rust-toml" ,rust-toml-0.8)))) + (home-page "https://sr.ht/~tsdh/swayr/#swayrbar") + (synopsis "Swaybar-protocol implementation for sway/swaybar") + (description + "This package provides a swaybar-protocol implementation for sway/swaybar.") + (license license:gpl3+))) + (define-public tealdeer (package (name "tealdeer")