You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.4 KiB
76 lines
1.4 KiB
5 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
CRATES="
|
||
5 years ago
|
aho-corasick-0.6.9
|
||
5 years ago
|
argparse-0.2.2
|
||
5 years ago
|
base32-0.4.0
|
||
5 years ago
|
bitflags-1.0.4
|
||
|
cc-1.0.28
|
||
5 years ago
|
cfg-if-0.1.6
|
||
5 years ago
|
cloudabi-0.0.3
|
||
|
fuchsia-zircon-0.3.3
|
||
|
fuchsia-zircon-sys-0.3.3
|
||
5 years ago
|
lazy_static-1.2.0
|
||
|
libc-0.2.47
|
||
|
memchr-2.1.2
|
||
|
nitrocli-0.2.3
|
||
|
nitrokey-0.3.4
|
||
|
nitrokey-sys-3.4.3
|
||
|
nitrokey-test-0.1.1
|
||
|
proc-macro2-0.4.24
|
||
|
quote-0.6.10
|
||
5 years ago
|
rand_core-0.3.0
|
||
5 years ago
|
rand_os-0.1.1
|
||
|
rdrand-0.4.0
|
||
|
regex-1.1.0
|
||
|
regex-syntax-0.6.4
|
||
|
syn-0.15.23
|
||
|
thread_local-0.3.6
|
||
|
ucd-util-0.1.3
|
||
|
unicode-xid-0.1.0
|
||
|
utf8-ranges-1.0.2
|
||
|
version_check-0.1.5
|
||
5 years ago
|
winapi-0.3.6
|
||
|
winapi-i686-pc-windows-gnu-0.4.0
|
||
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
||
|
"
|
||
|
|
||
|
inherit cargo
|
||
|
|
||
|
DESCRIPTION="A command line application for interacting with Nitrokey devices"
|
||
5 years ago
|
HOMEPAGE="https://github.com/d-e-s-o/nitrocli/tree/master/nitrocli"
|
||
5 years ago
|
SRC_URI="$(cargo_crate_uris ${CRATES})"
|
||
|
|
||
|
LICENSE="GPL-3+"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64"
|
||
5 years ago
|
IUSE=""
|
||
5 years ago
|
|
||
|
BDEPEND="
|
||
|
>=dev-lang/rust-1.31.0
|
||
|
"
|
||
|
DEPEND="
|
||
|
dev-libs/hidapi
|
||
|
"
|
||
|
# We require gnupg for /usr/bin/gpg-connect-agent.
|
||
|
RDEPEND="
|
||
|
${DEPEND}
|
||
|
app-crypt/gnupg
|
||
|
"
|
||
|
|
||
5 years ago
|
# Uses a plugged-in Nitrokey and runs tests on it. These tests assumes a
|
||
|
# pristine configuration and will modify the device's state. Not meant
|
||
|
# to be run as part of the installation.
|
||
|
RESTRICT="test"
|
||
5 years ago
|
QA_FLAGS_IGNORED="/usr/bin/nitrocli"
|
||
|
|
||
|
src_install() {
|
||
|
cargo_src_install --path=.
|
||
|
|
||
|
einstalldocs
|
||
5 years ago
|
doman "doc/nitrocli.1"
|
||
5 years ago
|
}
|