summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-29 20:57:19 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-01-31 21:31:53 -0800
commitb223ebdcd27476e63c48907561506f48285b191c (patch)
tree89b0ebd315748b0773ba836d6b696f2243aaa54e /app-crypt/nitrocli/nitrocli-0.2.3.ebuild
parentdev-lang/rust: re-add cblas patch (diff)
downloadgentoo-b223ebdcd27476e63c48907561506f48285b191c.tar.gz
gentoo-b223ebdcd27476e63c48907561506f48285b191c.tar.bz2
gentoo-b223ebdcd27476e63c48907561506f48285b191c.zip
app-crypt/nitrocli: Bump version to 0.2.3
This patch adds an ebuild for app-crypt/nitrocli version 0.2.3. Closes: https://github.com/gentoo/gentoo/pull/10939 Signed-off-by: Daniel Müller <deso@posteo.net> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-crypt/nitrocli/nitrocli-0.2.3.ebuild')
-rw-r--r--app-crypt/nitrocli/nitrocli-0.2.3.ebuild75
1 files changed, 75 insertions, 0 deletions
diff --git a/app-crypt/nitrocli/nitrocli-0.2.3.ebuild b/app-crypt/nitrocli/nitrocli-0.2.3.ebuild
new file mode 100644
index 00000000000..e5ac6ddbfe6
--- /dev/null
+++ b/app-crypt/nitrocli/nitrocli-0.2.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CRATES="
+aho-corasick-0.6.9
+argparse-0.2.2
+base32-0.4.0
+bitflags-1.0.4
+cc-1.0.28
+cfg-if-0.1.6
+cloudabi-0.0.3
+fuchsia-zircon-0.3.3
+fuchsia-zircon-sys-0.3.3
+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
+rand_core-0.3.0
+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
+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"
+HOMEPAGE="https://github.com/d-e-s-o/nitrocli/tree/master/nitrocli"
+SRC_URI="$(cargo_crate_uris ${CRATES})"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+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
+"
+
+# 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"
+QA_FLAGS_IGNORED="/usr/bin/nitrocli"
+
+src_install() {
+ cargo_src_install --path=.
+
+ einstalldocs
+ doman "doc/nitrocli.1"
+}