aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-06-17 15:29:51 -0700
committerEfraim Flashner <efraim@flashner.co.il>2020-11-22 19:44:34 +0200
commitf6417cdb790a7a340f4df0baf3ce6481b97b9ab9 (patch)
tree941702b48653a9f4c35aea7f2e342b5b92f5f6ff /gnu/packages/crates-io.scm
parente7c83de37ae8f27fef371dbdeaf08f3e9678bedc (diff)
downloadguix-f6417cdb790a7a340f4df0baf3ce6481b97b9ab9.tar.gz
guix-f6417cdb790a7a340f4df0baf3ce6481b97b9ab9.zip
gnu: Add rust-getch-0.2.
* gnu/packages/crates-io.scm (rust-getch-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df5dd91456..a0234d1601 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9893,6 +9893,31 @@ API library @code{gdi32}.")
"This package provides a package for generating 3D meshes/")
(license license:asl2.0)))
+(define-public rust-getch-0.2
+ (package
+ (name "rust-getch")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "getch" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "00in8q95qi8a5q3zn2zcaqp5avj79f5myd2a4zfdy2m24ycvbc5v"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-termios" ,rust-termios-0.2))))
+ (home-page "https://nest.pijul.com/pijul_org/getch")
+ (synopsis "Portable implementation of getch")
+ (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-getopts-0.2
(package
(name "rust-getopts")