aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-apple.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r--gnu/packages/crates-apple.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 2749fb9971..f3965a0928 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -661,3 +661,23 @@ representation and parsing.")
(synopsis "Procedural macros for the objc2 project")
(description "This package provides procedural macros for the objc2 project.")
(license license:expat)))
+
+(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)))