| # 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='Implementation of the "embedded-hal" traits for Linux devices' |
| HOMEPAGE='https://crates.io/crates/linux-embedded-hal' |
| 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/cast-0.3*:= |
| >=dev-rust/embedded-hal-0.2.6 <dev-rust/embedded-hal-0.3.0_alpha:= |
| =dev-rust/gpio-cdev-0.5*:= |
| =dev-rust/i2cdev-0.5*:= |
| >=dev-rust/nb-0.1.3 <dev-rust/nb-0.2.0_alpha:= |
| =dev-rust/serial-core-0.4*:= |
| =dev-rust/serial-unix-0.4*:= |
| =dev-rust/spidev-0.5*:= |
| =dev-rust/sysfs_gpio-0.6*:= |
| =dev-rust/void-1*:= |
| " |
| RDEPEND="${DEPEND}" |
| |
| # This file was automatically generated by cargo2ebuild.py |
| |
| RESTRICT="test" |