From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id 2On4JqWuhWMsjAAAbAwnHQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 29 Nov 2022 08:03:01 +0100
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id AKL1JqWuhWPsgQAA9RJhRA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 29 Nov 2022 08:03:01 +0100
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 3998638EDD
	for <larch@yhetil.org>; Tue, 29 Nov 2022 08:03:01 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	id 1ozudJ-000393-3x; Tue, 29 Nov 2022 02:02:24 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1ozudE-00038T-M2
 for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:16 -0500
Received: from debbugs.gnu.org ([209.51.188.43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ozudE-0003tt-CJ
 for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:16 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ozudE-0004rg-8w
 for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:16 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#59670] [PATCH 36/50] gnu: Add rust-terminal-size-0.2.
Resent-From: "(" <paren@disroot.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Tue, 29 Nov 2022 07:02:16 +0000
Resent-Message-ID: <handler.59670.B59670.166970530918433@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 59670
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 59670@debbugs.gnu.org
Cc: "\(" <paren@disroot.org>
Received: via spool by 59670-submit@debbugs.gnu.org id=B59670.166970530918433
 (code B ref 59670); Tue, 29 Nov 2022 07:02:16 +0000
Received: (at 59670) by debbugs.gnu.org; 29 Nov 2022 07:01:49 +0000
Received: from localhost ([127.0.0.1]:53734 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1ozucn-0004n9-Ew
 for submit@debbugs.gnu.org; Tue, 29 Nov 2022 02:01:49 -0500
Received: from knopi.disroot.org ([178.21.23.139]:54664)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paren@disroot.org>) id 1ozucN-0004hb-S8
 for 59670@debbugs.gnu.org; Tue, 29 Nov 2022 02:01:26 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 4753D41457;
 Tue, 29 Nov 2022 08:01:23 +0100 (CET)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id B-lTPuk4ti8Z; Tue, 29 Nov 2022 08:01:21 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1669705279; bh=GDyW9wRGGcDb7mjIsCpex+dwunAbENssgOT5ZiPZafg=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=CO+M4BRX7oS6UnJ8q6m/B9tdIe5hxD9WNaQCKVbIHOnIPiL4IyG2IXxd5AY3WeetH
 +Nmogx7elRaLV30PptBD1lKY4qPEGyQhSUIkAEUJ+UyHQZR0FtvtvNgCwfTmLfg/5c
 HlfDP6Cqm/jSyQVfQLKjN2upQIN5eQOO34RyhgpjZtL971aTkgU2BODkFAQkzoNegF
 KokaqAeBv0TEY8eoeCbOPm+xSrST+opHajBwDPWuNOUZwtT63KjqJoVbexWMAjCk/p
 G/hfJrhoni2+1lAsdZKj8C/Y7a/EUkA28DV/lWljSPkr6MV9h7NsHELeZ/Yy5uf88S
 Vr6zglmhRFEbw==
Date: Tue, 29 Nov 2022 07:00:50 +0000
Message-Id: <20221129070104.8007-36-paren@disroot.org>
In-Reply-To: <20221129070104.8007-1-paren@disroot.org>
References: <20221129070104.8007-1-paren@disroot.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Reply-to:  "\(" <paren@disroot.org>
X-ACL-Warn: ,  "\( via Guix-patches" <guix-patches@gnu.org>
From:  "\( via Guix-patches" via <guix-patches@gnu.org>
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
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1669705381;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-transfer-encoding:content-transfer-encoding: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=nS4fh1nXdLeW++z3n2EuoEOYaWe+NnXOpFeK1SBqk+g=;
	b=hmFYV/YrLQRdLAVNkyh5+Ipwd+RPLFs9dPw+8MMRZPC23T7OTUsaC3Q8fmw1gmNIB3VP3l
	7/EcuXG+OiSDq7bnKfPoEcd9aoDR12D+ts+rjWvVveslCSxEguj3Ue52GFPzBdYIq+ZwZi
	8TAldIZWv+RC4JgeSMs229PQqhkWEf6zL7/wf4Vawa4f8uy56sERpeo4cs7Y/RW5T10ZQF
	Rfti5RD/kgJxXZ1aTleeeLhrBZ4Jlb9qDFomtSNOixpyuTf70qwM8ZA/fs4cVKtU4ZB0HZ
	ASnFRAHN5A7frllacD2sfUdyK9sqtgiVOlGatmJyW6o0mwdcjR6zWpFkarLvLg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669705381; a=rsa-sha256; cv=none;
	b=KVEZN4TSwj6C4F8Ex+4zSRESJGCrOiO5fup6Q4IPmbxeo76lhiQYMo1P9D98NhfIaYcZNc
	tlbWcIgfkIxXK1pNTTmjqJad0z5TdyUA9NYysyPT9POrp0llXqvE9ZqmsAT3xeGZWL04FQ
	20w35lkBFz4I2j0CtaRke5OAm3qmBTWhgueRNOlPJUmkkJSrkARIMWFC6a116OK3bGpU0a
	HY9+2IxL9ZrkfOL9Ewz4rGkCwEaKrtTDa12bH7MKckSITkh7LvtvK7mojg3SKe0APkyset
	wTD39kr4f0QIMPs0vghxF2dQr3IFix+ZLA1xp3ym5Cc8+sgBv5ZIWp+1ro2YCg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=CO+M4BRX;
	dmarc=pass (policy=none) header.from=gnu.org;
	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"
X-Migadu-Spam-Score: -4.06
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=CO+M4BRX;
	dmarc=pass (policy=none) header.from=gnu.org;
	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"
X-Migadu-Queue-Id: 3998638EDD
X-Spam-Score: -4.06
X-Migadu-Scanner: scn0.migadu.com
X-TUID: ytxcXZ1vSVDS

* gnu/packages/crates-io.scm (rust-terminal-size-0.2): New variable.
(rust-terminal-size-0.1): Inherit from RUST-TERMINAL-SIZE-0.2.
---
 gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++------------
 1 file changed, 30 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29d5b69c48..3fcabdc99e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58109,29 +58109,46 @@ (define-public rust-termcolor-0.3
        #:cargo-inputs
        (("rust-wincolor" ,rust-wincolor-0.1))))))
 
-(define-public rust-terminal-size-0.1
+(define-public rust-terminal-size-0.2
   (package
     (name "rust-terminal-size")
-    (version "0.1.17")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "terminal-size" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1pq60ng1a7fjp597ifk1cqlz8fv9raz9xihddld1m1pfdia1lg33"))))
+    (version "0.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "terminal-size" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0yhza8sc6jkka6j0nq5sl749ckx1jagvxp3b38yhh4px6k291jj0"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f          ; Tests require /dev/stderr
-       #:cargo-inputs
-       (("rust-libc" ,rust-libc-0.2)
-        ("rust-winapi" ,rust-winapi-0.3))))
+     (list #:tests? #f          ;tests require /dev/stderr
+           #:cargo-inputs
+           `(("rust-rustix" ,rust-rustix-0.35))))
     (home-page "https://github.com/eminence/terminal-size")
     (synopsis "Gets the size of your Linux or Windows terminal")
     (description
      "This package gets the size of your Linux or Windows terminal.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-terminal-size-0.1
+  (package
+    (inherit rust-terminal-size-0.2)
+    (name "rust-terminal-size")
+    (version "0.1.17")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "terminal-size" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1pq60ng1a7fjp597ifk1cqlz8fv9raz9xihddld1m1pfdia1lg33"))))
+    (arguments
+     (list #:tests? #f          ;tests require /dev/stderr
+           #:cargo-inputs
+           `(("rust-libc" ,rust-libc-0.2)
+             ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-terminfo-0.7
   (package
     (name "rust-terminfo")
-- 
2.38.1