aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 23:11:03 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:52 +0100
commit5d21af51aa53ff400850203a56da27f558e1fff2 (patch)
tree2a5000349ac1f90bb7e0c5c634038a8e13e0a5b5 /gnu
parent0a52c4eb0bfab40316f10e362e431d5676c96e7e (diff)
downloadguix-5d21af51aa53ff400850203a56da27f558e1fff2.tar.gz
guix-5d21af51aa53ff400850203a56da27f558e1fff2.zip
gnu: Add rust-readkey-0.1.
* gnu/packages/crates-io.scm (rust-readkey-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a0db51105c..f5a0178964 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28760,6 +28760,26 @@ reference counting.")
"This package provides a simple library for reading hex colors")
(license (list license:expat license:asl2.0))))
+(define-public rust-readkey-0.1
+ (package
+ (name "rust-readkey")
+ (version "0.1.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "readkey" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0iiip8bq4yhal5rv6wlws0xgz798blki7s5ly5cmlwm1ssv03m46"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/segeljakt/readkey")
+ (synopsis "Library for finding out if a key is currently pressed on macOS")
+ (description
+ "This package provides a very small library for finding out if a key is
+currently pressed on macOS.")
+ (license license:expat)))
+
(define-public rust-recycler-0.1
(package
(name "rust-recycler")