GNU bug report logs - #69890
[PATCH rust-team 00/43] gnu: Add procs.

Previous Next

Package: guix-patches;

Reported by: normalmente <normally_js <at> posteo.net>

Date: Tue, 19 Mar 2024 03:13:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: normalmente <normally_js <at> posteo.net>
To: 69890 <at> debbugs.gnu.org
Cc: normalmente <normally_js <at> posteo.net>, Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#69890] [PATCH 16/43] gnu: Add rust-getch-0.3.
Date: Tue, 19 Mar 2024 03:50:47 +0000
* 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")
-- 
2.41.0





This bug report was last modified 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.