aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2024-08-18 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2024-08-25 02:00:00 +0200
commite17b25343dc45e00fe6851f8aa893a2ec08683cc (patch)
tree6ed5f4036a6825bc380045c03618f1c4bf355ffd /gnu/packages/crates-io.scm
parent26a56f76ab77b6f8bb93ce16d511cc8340a98da5 (diff)
downloadguix-e17b25343dc45e00fe6851f8aa893a2ec08683cc.tar
guix-e17b25343dc45e00fe6851f8aa893a2ec08683cc.tar.gz
gnu: Add rust-libudev-sys.
* gnu/packages/crates-io.scm (rust-libudev-sys-0.1): New public variable. Change-Id: I948c19354532daf58f83f4ea8d35f2447d2346f7
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f53e87241c..67e4994eb5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39758,6 +39758,26 @@ harness used by @code{rustc --test}.")
("rust-structopt" ,rust-structopt-0.3)
("rust-termcolor" ,rust-termcolor-1))))))
+(define-public rust-libudev-sys-0.1
+ (package
+ (name "rust-libudev-sys")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libudev-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09236fdzlx9l0dlrsc6xx21v5x8flpfm3d5rjq9jr5ivlas6k11w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (home-page "https://github.com/dcuddeback/libudev-sys")
+ (synopsis "FFI bindings to libudev")
+ (description "This package provides FFI bindings to libudev.")
+ (license license:expat)))
+
(define-public rust-listenfd-1
(package
(name "rust-listenfd")