From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +Ef4Aw81tmV6mgAA62LTzQ:P1 (envelope-from ) for ; Sun, 28 Jan 2024 12:05:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +Ef4Aw81tmV6mgAA62LTzQ (envelope-from ) for ; Sun, 28 Jan 2024 12:05:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=0tDvYsA1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706439951; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=m4dp/cuL278Mc3C4ttjzSOlKMQQK3gc+jvLYpXXEehs=; b=Kelq1aznphDeY7SZVnMMS4V6skyi6u83HbjxTnzEtOcqZNceKECz8q2csV755ufBqNt+G9 o32RTxEmfr9js1VT0mHtG8BOkdYYLS8rEyqzgt0bIO+MT2hWBSnEG8y4Q+ATZ9OBwR1WY8 zL80YUI3l5Fezb6/k6zZESGrYajtvS7MgmRUKE61rZ+Exy17dfCyiEV3p+nk6wwLbmvGUH JsRIQS5/ixthm5P2VbSgRN/OsSUgK8imOp5a6L84sLAkEmnxNG5CMEn5jG2YemqSxBbh6E zPi1CXmFkbfvQAAVvzY8lGr2/Edu8U7KLrJ2QvX4oLgSqB/c8AUUFMZKDETguA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=0tDvYsA1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706439951; a=rsa-sha256; cv=none; b=mZJl2dmJciHYcsd3eb+MnlGZ7b6ceiyuPhVDbZv0PkOXHCmd/qDroKI4oxz6ktje7NBows yHP617M8LQUtuImwtWNwUFLs8uUftqjYLvfsyOS2hnILE8yZ7vx22MPLBb+WAEJAMMhP56 AGoUPe8iOzcSlTD/cyDTKImobY16pCUFIyeHTPBGKi2qxw70qts4ZsBSmz09KPUAx8UvSO DlkwxhyD2+VA65PTj82zRKwJUMHb0HxYjn/ZwQb7d/ff6tDVo34fSYqWcRLaIrb8F45qBi 9IPn8Qn0ZBXvGjTAVhV8oa3vp/D18n6/ZOKv9E5yXlW6sjuc+YABfD4jtxblLg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EBDED6CB08 for ; Sun, 28 Jan 2024 12:05:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rU2yA-0001Yz-Dn; Sun, 28 Jan 2024 06:04:59 -0500 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 1rU2y8-0001YM-Ij for guix-patches@gnu.org; Sun, 28 Jan 2024 06:04:56 -0500 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 1rU2y8-0000FK-7v for guix-patches@gnu.org; Sun, 28 Jan 2024 06:04:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rU2yF-0006BR-QT for guix-patches@gnu.org; Sun, 28 Jan 2024 06:05:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7. References: <87bk95hgik.fsf@troyfigiel.com> In-Reply-To: <87bk95hgik.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Jan 2024 11:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68780 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68780@debbugs.gnu.org Received: via spool by 68780-submit@debbugs.gnu.org id=B68780.170643986623619 (code B ref 68780); Sun, 28 Jan 2024 11:05:03 +0000 Received: (at 68780) by debbugs.gnu.org; 28 Jan 2024 11:04:26 +0000 Received: from localhost ([127.0.0.1]:56680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU2xe-00068t-0W for submit@debbugs.gnu.org; Sun, 28 Jan 2024 06:04:26 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:37720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU2xb-00068b-DZ for 68780@debbugs.gnu.org; Sun, 28 Jan 2024 06:04:24 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4TN7pw1J6Fz9sb2 for <68780@debbugs.gnu.org>; Sun, 28 Jan 2024 12:04:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1706439848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=m4dp/cuL278Mc3C4ttjzSOlKMQQK3gc+jvLYpXXEehs=; b=0tDvYsA1ydFVV8nQ7YHgRC9GWHu+DsKBy5cmWmwyIu4ZoNF3vBxhK7z6iuSy9MFrHBeiut ChChuDYQoYij2TGt5xevCYFtxC0pY4VSFiL69CRsaDRyUMlw9T6RS24j3n4+RDqS6jJrHE AhWg/UDyx7uyF368/N2ayNcmHAZfYDQB3EH28zDsw/Ii9XGU8m+SDisRi2J/+p1RfVeETj 7eGd/r1EG0fVYxk7uHqfup3Hpu3Tq9YQLXxL+e2oExx+mi+KRBOjgerM86gtUhothg1Kgc jqCNJVV62GDmfs3/A5oLqNkKY2jQ9AaaC/eF/XubUefj7o0pdCY3CkmNTtAagA== From: Troy Figiel Date: Sat, 27 Jan 2024 16:53:47 +0100 Message-ID: <874jexhg7s.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.25 X-Migadu-Queue-Id: EBDED6CB08 X-Spam-Score: 2.25 X-Migadu-Scanner: mx11.migadu.com X-TUID: 5llU3hTQuHsu * gnu/packages/crates-io.scm (rust-comfy-table-7): New variable. (rust-comfy-table-4): Inherit from rust-comfy-table-7. --- gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 02cfe3c531..c8bcd5520c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11548,8 +11548,41 @@ (define-public rust-combine-regex-1-1 and 1.0.") (license (list license:expat license:asl2.0)))) +(define-public rust-comfy-table-7 + (package + (name "rust-comfy-table") + (version "7.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "comfy-table" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11i6sm6vznv9982hqpbrba43vfd7vv7zqzlywdc4qykvdhyh8r3w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-console" ,rust-console-0.15) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rstest" ,rust-rstest-0.18)))) + (home-page "https://github.com/nukesor/comfy-table") + (synopsis "Library for building tables with automatic content wrapping") + (description + "Comfy-tables is an utility for building tables with automatic content +wrapping.") + (license license:expat))) + (define-public rust-comfy-table-4 (package + (inherit rust-comfy-table-7) (name "rust-comfy-table") (version "4.1.1") (source @@ -11559,20 +11592,13 @@ (define-public rust-comfy-table-4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1wzk894p2s725cpdip5968ydb50zczsl34040j6zs8klhqz5ms8i")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.20) ("rust-strum" ,rust-strum-0.21) ("rust-strum-macros" ,rust-strum-macros-0.21) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page "https://github.com/nukesor/comfy-table") - (synopsis "Library for building tables with automatic content wrapping") - (description - "Comfy-tables is an utility for building tables with automatic content -wrapping.") - (license license:expat))) + ("rust-unicode-width" ,rust-unicode-width-0.1)))))) (define-public rust-comfy-table-1 (package -- 2.42.0