| # Copyright 2022 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI="7" |
| |
| CROS_RUST_REMOVE_DEV_DEPS=1 |
| |
| inherit cros-rust |
| |
| DESCRIPTION='Linux GPIO Character Device Support (/dev/gpiochipN)' |
| HOMEPAGE='https://github.com/rust-embedded/gpio-cdev' |
| SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate" |
| |
| LICENSE="|| ( MIT Apache-2.0 )" |
| SLOT="${PV}/${PR}" |
| KEYWORDS="*" |
| |
| DEPEND=" |
| >=dev-rust/bitflags-1.3.0 <dev-rust/bitflags-2.0.0_alpha:= |
| =dev-rust/futures-0.3*:= |
| =dev-rust/libc-0.2*:= |
| =dev-rust/nix-0.23*:= |
| =dev-rust/tokio-1*:= |
| " |
| RDEPEND="${DEPEND}" |
| |
| # This file was automatically generated by cargo2ebuild.py |
| |
| RESTRICT="test" |