unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Antero Mejr <antero@kodmin.com>
To: 48671@debbugs.gnu.org
Cc: Antero Mejr <antero@kodmin.com>
Subject: [bug#48671] [PATCH 01/11] gnu: Add nitrocli.
Date: Sun, 30 May 2021 17:42:02 -0400	[thread overview]
Message-ID: <20210530214212.11807-1-antero@kodmin.com> (raw)
In-Reply-To: <20210526035755.79632-1-antero@kodmin.com>

* gnu/packages/security-token.scm (nitrocli): New variable.
---
Thanks for the feedback Xinglu, I updated the package descriptions and linted.
Resubmitting the patches as separate commits.

 gnu/packages/security-token.scm | 43 +++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index dfa43bb2bf..fcb1123f2b 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -674,3 +674,46 @@ that after installing this package, you might still need to add appropriate
 udev rules to your system configuration to be able to configure the YubiKey as
 an unprivileged user.")
     (license license:bsd-2)))
+
+(define-public nitrocli
+  (package
+    (name "nitrocli")
+    (version "0.4.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "nitrocli" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1djspfvcqjipg17v8hkph8xrhkdg1xqjhq5jk1sr8vr750yavidy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;; 2/164 tests fail, nitrocli-ext tests failing
+       #:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-base32" ,rust-base32-0.4)
+        ("rust-directories" ,rust-directories-3)
+        ("rust-envy" ,rust-envy-0.4)
+        ("rust-libc-0.2" ,rust-libc-0.2)
+        ("rust-merge" ,rust-merge-0.1)
+        ("rust-nitrokey" ,rust-nitrokey-0.9)
+        ("rust-progressing" ,rust-progressing-3)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-structopt" ,rust-structopt-0.3.21)
+        ("rust-termion" ,rust-termion-1)
+        ("rust-toml" ,rust-toml-0.5))
+       #:cargo-development-inputs
+       (("rust-nitrokey-test" ,rust-nitrokey-test-0.5)
+        ("rust-nitrokey-test-state" ,rust-nitrokey-test-state-0.1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (inputs
+     `(("hidapi" ,hidapi)
+       ("gnupg" ,gnupg)))
+    (home-page "https://github.com/d-e-s-o/nitrocli")
+    (synopsis "Command line tool for Nitrokey devices")
+    (description
+     "nitrocli is a program that provides a command line interface
+for interaction with Nitrokey Pro, Nitrokey Storage, and Librem Key
+devices.")
+    (license license:gpl3+)))
-- 
2.31.1





  parent reply	other threads:[~2021-05-30 21:45 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-26  3:57 [bug#48671] [PATCH] Add nitrocli Antero Mejr
2021-05-27  6:59 ` Xinglu Chen
2021-05-27  7:11 ` Xinglu Chen
2021-05-30 21:42 ` Antero Mejr [this message]
2021-05-30 21:42   ` [bug#48671] [PATCH 02/11] gnu: Add rust-structopt-derive-0.4.14 Antero Mejr
2021-05-30 21:42   ` [bug#48671] [PATCH 03/11] gnu: Add rust-structopt-0.3.21 Antero Mejr
2021-05-30 21:42   ` [bug#48671] [PATCH 04/11] gnu: Add rust-progressing-3 Antero Mejr
2021-05-30 21:42   ` [bug#48671] [PATCH 05/11] gnu: Add rust-nitrokey-0.9 Antero Mejr
2021-05-30 21:42   ` [bug#48671] [PATCH 06/11] gnu: Add rust-merge-0.1 Antero Mejr
2021-05-31 20:51     ` Xinglu Chen
2021-05-30 21:42   ` [bug#48671] [PATCH 07/11] gnu: Add rust-envy-0.4 Antero Mejr
2021-05-30 21:42   ` [bug#48671] [PATCH 08/11] gnu: Add rust-base32-0.4 Antero Mejr
2021-05-30 21:42   ` [bug#48671] [PATCH 09/11] gnu: Add nitrocli Antero Mejr
2021-05-31 20:53     ` Xinglu Chen
2021-05-30 21:42   ` [bug#48671] [PATCH 10/11] " Antero Mejr
2021-05-30 21:42   ` [bug#48671] [PATCH 11/11] " Antero Mejr
2021-05-31 21:05   ` [bug#48671] [PATCH 01/11] " Xinglu Chen
2021-05-31 23:55 ` [bug#48671] [PATCH 1/9] " Antero Mejr
2021-05-31 23:55   ` [bug#48671] [PATCH 2/9] gnu: Add rust-structopt-derive-0.4.14 Antero Mejr
2021-05-31 23:55   ` [bug#48671] [PATCH 3/9] gnu: Add rust-structopt-0.3.21 Antero Mejr
2021-05-31 23:55   ` [bug#48671] [PATCH 4/9] gnu: Add rust-progressing-3 Antero Mejr
2021-05-31 23:55   ` [bug#48671] [PATCH 5/9] gnu: Add rust-nitrokey-0.9 Antero Mejr
2021-05-31 23:55   ` [bug#48671] [PATCH 6/9] gnu: Add rust-merge-0.1 Antero Mejr
2021-05-31 23:55   ` [bug#48671] [PATCH 7/9] gnu: Add rust-merge-derive-0.1 Antero Mejr
2021-05-31 23:55   ` [bug#48671] [PATCH 8/9] gnu: Add rust-envy-0.4 Antero Mejr
2021-05-31 23:55   ` [bug#48671] [PATCH 9/9] gnu: Add rust-base32-0.4 Antero Mejr
2021-06-01 21:48   ` [bug#48671] [PATCH 1/9] gnu: Add nitrocli Xinglu Chen
2021-06-05 20:38   ` bug#48671: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210530214212.11807-1-antero@kodmin.com \
    --to=antero@kodmin.com \
    --cc=48671@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).