guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

52/272: gnu: Add rust-readkey-0.1.


From: guix-commits
Subject: 52/272: gnu: Add rust-readkey-0.1.
Date: Sat, 13 Feb 2021 05:54:02 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 5d21af51aa53ff400850203a56da27f558e1fff2
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Feb 9 23:11:03 2021 +0100

    gnu: Add rust-readkey-0.1.
    
    * gnu/packages/crates-io.scm (rust-readkey-0.1): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a0db511..f5a0178 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]