blob: ad9c52b168c1b4609378c4e4844f7f8db263a784 [file] [log] [blame]
# 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='Provides access to the Linux spidev interface. This
interface allows for configuration of the spidev device,
half-duplex SPI access, and full-duplex SPI access.'
HOMEPAGE='https://github.com/rust-embedded/rust-spidev'
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/libc-0.2*:=
=dev-rust/nix-0.23*:=
"
RDEPEND="${DEPEND}"
# This file was automatically generated by cargo2ebuild.py