From patchwork Tue Mar 19 03:50:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61943 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 AB38227BBEB; Tue, 19 Mar 2024 03:54:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 2F24627BBE2 for ; Tue, 19 Mar 2024 03:54:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQXV-00083w-Gl; Mon, 18 Mar 2024 23:53:25 -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 1rmQXU-00083f-7O for guix-patches@gnu.org; Mon, 18 Mar 2024 23:53:24 -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 1rmQXT-0008FM-U9 for guix-patches@gnu.org; Mon, 18 Mar 2024 23:53:23 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQY6-0005yP-5y; Mon, 18 Mar 2024 23:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 07/43] gnu: Add rust-termbg-0.5. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 03:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69890 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69890@debbugs.gnu.org Cc: normalmente , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69890-submit@debbugs.gnu.org id=B69890.171082042322780 (code B ref 69890); Tue, 19 Mar 2024 03:54:02 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:53:43 +0000 Received: from localhost ([127.0.0.1]:34945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQXm-0005vG-2b for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQXi-0005uS-SF for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3B5F2240027 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:52:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820374; bh=LepaVigMYO9oMSx0J+sNftN7k01uqjUsHqGWi5XZ0ek=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=Oeb42LnnMDiw+Gr9YTlubeZiDuF/mdY37ANNzohvuBfAp/vjDbUrRKvCdRrX7cFxz GWV7Z2q43jQlKvc9/gn8FV9JfnmS6jqwapjQLARGjWNfbIK3Jsbw6daufazbqAsiV4 Zi9AFRWu60QDOUnPKzw83TVTGSwOuqe3ul9guX0O8BKnOjKmRpJYXMIi7m6+oj0c7u NYwafyaqI/EWS+LvKvBh7R2PbI2MFgQTvYwySjRRnkeWV7Xp5Ss0riQsl7cfMhf+iO Y6VO2fCkic33T/FBDs6UFql/O+KNA8WoqMQ53hzA2nyLEkw3fUUQopi+HGQj+QFtCA hEz4Ru1SW5y8A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHqn3BM2z6tm4; Tue, 19 Mar 2024 04:52:53 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:50:38 +0000 Message-ID: In-Reply-To: References: MIME-Version: 1.0 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: , 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 * gnu/packages/crates-io.scm (rust-termbg-0.5): New variable. Change-Id: Ib0683af91da00335aef95e4b0ae91a8470207ecf --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 55870fb750..aa090607b8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -69461,6 +69461,30 @@ (define-public rust-term-0.2 (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) ("rust-winapi" ,rust-winapi-0.2)))))) +(define-public rust-termbg-0.5 + (package + (name "rust-termbg") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "termbg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pidjkz38z13iz8xchrz1nidxny5zjmxvbl1fs4arilvpzhfc4ic")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/dalance/termbg") + (synopsis "Terminal background color detection") + (description + "This package provides terminal background color detection.") + (license (list license:expat license:asl2.0)))) + (define-public rust-term-size-1 (package (name "rust-term-size")