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