From patchwork Sat Mar 4 14:13:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arjan Adriaanse X-Patchwork-Id: 10639 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 E06B716D48; Sat, 4 Mar 2023 14:14:36 +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=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 BEC4A16D4A for ; Sat, 4 Mar 2023 14:14:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYSeE-0003ZZ-8f; Sat, 04 Mar 2023 09:14:06 -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 1pYSeB-0003YY-DB for guix-patches@gnu.org; Sat, 04 Mar 2023 09:14:03 -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 ) id 1pYSeB-0004PW-4w for guix-patches@gnu.org; Sat, 04 Mar 2023 09:14:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYSeB-0001DJ-23 for guix-patches@gnu.org; Sat, 04 Mar 2023 09:14:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61958] [PATCH 32/32] gnu: Add rust-is-terminal-0.4. Resent-From: Arjan Adriaanse Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Mar 2023 14:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61958 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61958@debbugs.gnu.org Cc: Arjan Adriaanse Received: via spool by 61958-submit@debbugs.gnu.org id=B61958.16779392204602 (code B ref 61958); Sat, 04 Mar 2023 14:14:03 +0000 Received: (at 61958) by debbugs.gnu.org; 4 Mar 2023 14:13:40 +0000 Received: from localhost ([127.0.0.1]:35625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYSdn-0001CA-Tb for submit@debbugs.gnu.org; Sat, 04 Mar 2023 09:13:40 -0500 Received: from dane.soverin.net ([185.233.34.149]:51681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYSdn-0001Bp-1p for 61958@debbugs.gnu.org; Sat, 04 Mar 2023 09:13:39 -0500 Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4PTRdg6YR6z10Nf; Sat, 4 Mar 2023 14:13:27 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4PTRdf4q7mz2J; Sat, 4 Mar 2023 14:13:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=adriaan.se; s=soverin; t=1677939207; bh=WZ7IO1cIj8gUjk1xpBFtvyAXd4g/CvGy39c7QMpoyqA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FgvB57sZgSxKLwa+NUgyVLwzjmpVJQNt2Y1goh+DHO9h87tMSisXzuGBnrCO3LCTj 8urHdvcsOPCnXa6ZRhbbpQtFz9+s4KnL1Fv7bzk84x6+YwLW/L+RVfsgfY1jcHQGV/ rl02anMqF17lqDjWvjKCELD5EiA8DIWgZ/5elFLUX5ocBxZL4HxFztQL69p1rTonVS LievClibifOgIfoWOubq5sB309PwQ0w1MqTd4lNQpFjHcc+MmV8yGl51PB6yKpW0mz bV7wr6cLe4UVeUCF5m5BBDkon8GnNJKYLXeH/wjuKiTeY9gtEbsrTjssIq4aSmSvhU CRsjHcs9YshBA== X-Soverin-Authenticated: true From: Arjan Adriaanse Date: Sat, 4 Mar 2023 15:13:21 +0100 Message-Id: <4abb79f384be379cca6ec0a4ed4b0fef17f7cd72.1677936692.git.arjan@adriaan.se> 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-is-terminal-0.4): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d0ae7b90cf..039ed12661 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28621,6 +28621,34 @@ (define-public rust-is-executable-1 whether or not a given path points to an executable file.") (license (list license:expat license:asl2.0)))) +(define-public rust-is-terminal-0.4 + (package + (name "rust-is-terminal") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "is-terminal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mqqjb9z59gdbm280yq1h46h8xk40952x58fp5lqwfj1fqjv7di1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-hermit-abi" ,rust-hermit-abi-0.3) + ("rust-io-lifetimes" ,rust-io-lifetimes-1) + ("rust-rustix" ,rust-rustix-0.36) + ("rust-windows-sys" ,rust-windows-sys-0.45)) + #:cargo-development-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/sunfishcode/is-terminal") + (synopsis "Test whether a given stream is a terminal") + (description "This package provides testing whether a given stream is a +terminal.") + (license license:expat))) + (define-public rust-iso8601-0.3 (package (name "rust-iso8601")