From f5794c64636456e0ec545a3f0ffffd1d673a01ad Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 4 Jan 2024 20:33:02 +0200 Subject: gnu: rust-readkey-0.1: Move to (gnu packages crates-apple). * gnu/packages/crates-io.scm (rust-readkey-0.1): Move from here ... * gnu/packages/crates-apple.scm: ... to here. Change-Id: Ie24d9c158ee88d4f82572ae55326e5967b754d19 --- gnu/packages/crates-apple.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/crates-apple.scm') 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))) -- cgit v1.2.3