blob: 6f836d9bd680d42b2b7d8baca51a9e222471c6d4 [file] [log] [blame]
# Copyright 2019 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="Rust friendly bindings to *nix APIs."
HOMEPAGE="https://github.com/nix-rust/nix"
SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate"
LICENSE="MIT"
SLOT="${PV}/${PR}"
KEYWORDS="*"
PATCHES=( "${FILESDIR}/${PN}-${PV}-rm-extra-dependencies.patch" )
DEPEND="
>=dev-rust/bitflags-1.1.0:= <dev-rust/bitflags-2.0.0
=dev-rust/cfg-if-1*:=
>=dev-rust/libc-0.2.78:= <dev-rust/libc-3.0.0
"