diff options
author | Wilko Meyer <w@wmeyer.eu> | 2024-10-18 01:56:39 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:00 +0200 |
commit | 775178426fc55a342900b8e5a482707dd5b48155 (patch) | |
tree | 458973a388ee88b97b0c3c3cd17f1418b270fdad | |
parent | 6974fe204e41c751fa0e2afe02782def371c8966 (diff) |
gnu: Add rust-udevrs-0.3.
* gnu/packages/crates-io.scm (rust-udevrs-0.3): New variable.
Change-Id: Ib0dc5534f9c0c48e4cb8444b6f1fd7f996dfb3b8
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 47253297268..71c61da246f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -88300,6 +88300,36 @@ with the Unicode character database.") ("rust-mio" ,rust-mio-0.8) ("rust-pkg-config" ,rust-pkg-config-0.3)))))) +(define-public rust-udevrs-0.3 + (package + (name "rust-udevrs") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "udevrs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "028s1sk1ym919z0w6p8mnvgh9d35c9zzrlaxlmvfrppi6fx5kjdx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Error: UdevHwdb("unable to find hwdb.bin database file") + "--skip=parse_hwdb") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-glob" ,rust-glob-0.3) + ("rust-heapless" ,rust-heapless-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.27)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)))) + (home-page "https://github.com/cr8t/udev") + (synopsis "Pure Rust implementation of the user-land udev library") + (description + "This package provides Pure Rust implementation of the user-land udev library.") + (license license:lgpl2.0+))) + (define-public rust-ufmt-0.2 (package (name "rust-ufmt") |