Eric Anholt | 17b0d11 | 2020-11-02 16:51:15 -0800 | [diff] [blame] | 1 | # Copyright 2020 The Chromium OS Authors. All rights reserved. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | |
| 4 | EAPI="7" |
| 5 | |
| 6 | inherit cros-rust |
| 7 | |
| 8 | DESCRIPTION="A Rust crate providing Reader and Writer structs that timeout" |
| 9 | HOMEPAGE="https://github.com/jcreekmore/timeout-readwrite-rs" |
| 10 | SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate" |
| 11 | |
| 12 | LICENSE="|| ( MIT Apache-2.0 )" |
| 13 | SLOT="${PV}/${PR}" |
| 14 | KEYWORDS="*" |
| 15 | |
| 16 | PATCHES=( "${FILESDIR}/${PN}-${PV}-nix-dependency.patch" ) |
| 17 | |
| 18 | DEPEND=" |
| 19 | >=dev-rust/lazy_static-1.3.0:= <dev-rust/lazy_static-2.0.0 |
| 20 | >=dev-rust/nix-0.17.0:= <dev-rust/nix-0.20.0 |
| 21 | " |