[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: Add rust-evdev-sys-0.2.
From: |
guix-commits |
Subject: |
01/03: gnu: Add rust-evdev-sys-0.2. |
Date: |
Sun, 21 Jul 2024 12:25:43 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 81aae0a429a551db0e0f86ffafa853184f91ffdd
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jul 21 18:18:43 2024 +0200
gnu: Add rust-evdev-sys-0.2.
* gnu/packages/crates-io.scm (rust-evdev-sys-0.2): New variable.
Change-Id: I187468a9d3719e7bd90b0e1f9d9184862f3d8c34
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6eda94596..5806efd6aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24794,6 +24794,30 @@ abbreviation for Extended Unique Identifier.")
(description "This package provides evdev interface for Linux.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-evdev-sys-0.2
+ (package
+ (name "rust-evdev-sys")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "evdev-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vgax74wjsm22nrx6ikh8m7bj3nggf83s961i5qd85bvahmx9shl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (home-page "https://github.com/ndesh26/evdev-rs")
+ (synopsis "Raw bindings to libevdev")
+ (description
+ "This package provides Raw bindings to libevdev. High level Rust
+bindings are available in the @code{evdev} crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-event-listener-4
(package
(name "rust-event-listener")