gnu: Add rust-udev.

* gnu/packages/crates-io.scm (rust-udev-0.7): New public variable.

Change-Id: Idad0e0a1a9095a5efc0e05f7b7a90d9d86ddd42f
This commit is contained in:
Tobias Geerinckx-Rice 2024-08-18 02:00:00 +02:00
parent e17b25343d
commit 63250f2354
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -85841,6 +85841,30 @@ (define-public rust-ucd-util-0.1
(license (list license:asl2.0
license:expat))))
(define-public rust-udev-0.7
(package
(name "rust-udev")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "udev" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "06hr927z0fdn7ay0p817b9x19i5fagmpmvz95yhl4d1pf3bbpgaf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
("rust-libudev-sys" ,rust-libudev-sys-0.1)
("rust-mio" ,rust-mio-0.6)
("rust-mio" ,rust-mio-0.7)
("rust-mio" ,rust-mio-0.8)
("rust-pkg-config" ,rust-pkg-config-0.3))))
(home-page "https://github.com/Smithay/udev-rs")
(synopsis "libudev bindings for Rust")
(description "This package provides libudev bindings for Rust.")
(license license:expat)))
(define-public rust-ufmt-0.2
(package
(name "rust-ufmt")