| # Copyright 2021 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='A generic driver for different SPI Flash and EEPROM chips' |
| HOMEPAGE='https://crates.io/crates/spi-memory' |
| SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate" |
| |
| LICENSE="0BSD" |
| SLOT="${PV}/${PR}" |
| KEYWORDS="*" |
| |
| DEPEND=" |
| >=dev-rust/bitflags-1.0.4:= <dev-rust/bitflags-2.0.0 |
| >=dev-rust/embedded-hal-0.2.3:= <dev-rust/embedded-hal-0.3.0 |
| >=dev-rust/log-0.4.6:= <dev-rust/log-0.5.0 |
| " |
| RDEPEND="${DEPEND}" |
| |
| # This file was automatically generated by cargo2ebuild.py |
| |
| # error: could not compile `spi-memory` |
| RESTRICT="test" |