From patchwork Tue Mar 19 03:50:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61941 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 AD61127BBEA; Tue, 19 Mar 2024 03:54:01 +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=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 722F427BBE2 for ; Tue, 19 Mar 2024 03:53:59 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQXW-00084Y-Gr; Mon, 18 Mar 2024 23:53:26 -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-00083n-Nr 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 1rmQXU-0008FX-FW for guix-patches@gnu.org; Mon, 18 Mar 2024 23:53:24 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQY6-0005yZ-SO; Mon, 18 Mar 2024 23:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 16/43] gnu: Add rust-getch-0.3. 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.171082043622874 (code B ref 69890); Tue, 19 Mar 2024 03:54:02 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:53:56 +0000 Received: from localhost ([127.0.0.1]:34974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQY0-0005wk-3F for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQXs-0005vU-6T for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5EB56240101 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820383; bh=GY2CUB75icwkoePXLBQya6rGvbfzeUWT8/lTjjoYgDw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=fq6WcLxBrlSi27yBIVmLGkqSLuMrIRoPgPPkmLmsttY49JncOMQeAjWWh3bNioPiH gUhv9ezTlaMPN1NLVNdzXwXic9fdFiRy4DcHQ0y9+rw7U7AD5yg71aXJC0p93Hrfnl zbK0PkeJ6dIB1nXLPoG6i13qMX80cCIxPxkatiGYlyMgTyj2Ujk19DD3fpUZhVqxrm NVmj76t2PjRf8wNucOenPSCw7iUI2DghpNY/9ly+pCmpe29XwPHUwroWreN8bkPn52 KNs9mGernCX5g+Gtx5K3IoXx0+vp1FpvrPLJMLmt8Vqbv0nThMxI9dA/0DVwDPERkT dmSMEY11uXs3A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHqy5LDDz6twR; Tue, 19 Mar 2024 04:53:02 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:50:47 +0000 Message-ID: <7e3181020388f05d96bf43e2e79b61df01d370ba.1710817681.git.normally_js@posteo.net> 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-getch-0.3): New variable. Change-Id: Ic1fa7af7a982d513a8a98016e68c48d406746c5e --- 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 be7e14e57f..cd61924335 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26280,6 +26280,30 @@ (define-public rust-geo-types-0.6 #:cargo-development-inputs (("rust-approx" ,rust-approx-0.3)))))) +(define-public rust-getch-0.3 + (package + (name "rust-getch") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "getch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a0v3ck9w65zcgg055laiyyvkb6lxaph1h3zvw6pgq99bcnhx68k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-termios" ,rust-termios-0.3)))) + (home-page "https://nest.pijul.com/pmeunier/getch") + (synopsis + "Portable implementation of getch, using @code{_getch} on Windows, and +@code{termios} on Unix") + (description + "This package provides a portable implementation of getch, using +@code{_getch} on Windows, and @code{termios} on Unix.") + (license license:asl2.0))) + (define-public rust-gethostname-0.4 (package (name "rust-gethostname")