summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Vityazev <avityazew@gmail.com>2023-10-07 03:01:31 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-22 13:02:12 +0300
commitc034a892a347aa0c8b5f917e8b60b994289f5206 (patch)
treea0572be6cf8006775b2e803949d95e4987dfb5ea
parent3ca3fbd62c4ec114cef48e740f0984e1d989db43 (diff)
gnu: Add rust-evdev-0.12.
* gnu/packages/crates-io.scm (rust-evdev-0.12): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4ae28b5c31..64a11be7bd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24162,6 +24162,38 @@ ecosystem.")
(description "This package is a Rust library of Ethereum types.")
(license license:expat)))
+(define-public rust-evdev-0.12
+ (package
+ (name "rust-evdev")
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "evdev" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ww35bkqf060nl6x2vfg0frd6ql470c90l2ah68b3mngr3y5kv9b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitvec" ,rust-bitvec-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-nix" ,rust-nix-0.23)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs
+ (("rust-itertools" ,rust-itertools-0.10)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/cmr/evdev")
+ (synopsis "Rust interface to Linux event devices")
+ (description "This package provides evdev interface for Linux.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-event-listener-2
(package
(name "rust-event-listener")