aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/security-token.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 8190e1e1e2..c71bb85843 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2021 Dhruvin Gandhi <contact@dhruvin.dev>
;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -723,6 +724,30 @@ udev rules to your system configuration to be able to configure the YubiKey as
an unprivileged user.")
(license license:bsd-2)))
+(define-public libnitrokey
+ (package
+ (name "libnitrokey")
+ (version "3.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Nitrokey/libnitrokey")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ngrvv61d36vvfwrfg0qxmp2wg18v4aaldwvwzgxvwaysjswhn9r"))))
+ (build-system cmake-build-system)
+ (arguments
+ ;; These tests do not require any device to be connected
+ '(#:configure-flags (list "-DCOMPILE_OFFLINE_TESTS=ON")))
+ (native-inputs (list catch-framework2 doxygen graphviz pkg-config))
+ (inputs (list hidapi libusb))
+ (home-page "https://github.com/Nitrokey/libnitrokey")
+ (synopsis "Communication library for Nitrokey")
+ (description "This packate provides communication library for Nitrokey.")
+ (license license:lgpl3+)))
+
(define-public nitrocli
(package
(name "nitrocli")
0 15:55:50 +0100'>2016-12-20mailmap: Add alias for Marius Bakke....Marius Bakke 2016-11-26mailmap: Associate all commits by ng0 with ng0....ng0 2016-10-11Update e-mail address for ng0....ng0 2016-10-05Update e-mail address for ng0....ng0 2016-07-15Update e-mail address for Tobias Geerinckx-Rice....Andreas Enge 2016-07-03Update name for ng0....ng0 2016-05-19Update name for Kei Kebreau....Kei Kebreau 2016-05-04Update .mailmap....Alex Kost