summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 12:07:44 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:23 +0200
commit764300d533d14876d5e664c1b6242dedb45a4703 (patch)
treeb458fdf3a460ec36bf57ae8ae04a3a0648554ea5 /gnu
parent6a2ce347eec8137f1f251ff979648f8d16ff4e5c (diff)
downloadguix-764300d533d14876d5e664c1b6242dedb45a4703.tar.gz
gnu: Add rust-evdev-0.11.
* gnu/packages/crates-graphics.scm (rust-evdev-0.11): New variable.

Change-Id: If7f0910971486717309a477aec5ad1f36d60ac7d
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-graphics.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 5a66e8bd04..30465a90c0 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1073,6 +1073,35 @@ EUI-64, also known as MAC-48 media access control addresses.")
        (("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
         ("rust-serde" ,rust-serde-1))))))
 
+(define-public rust-evdev-0.11
+  (package
+    (name "rust-evdev")
+    (version "0.11.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "evdev" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1zknxkgkyh9fx3mq4div9kcgvgsiy91vzd5sq7bdinsn467sfx65"))))
+    (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 "Evdev interface for Linux")
+    (description "This package provides an evdev interface for Linux.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-exr-1
   (package
     (name "rust-exr")