[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/16: gnu: Add libnitrokey.
From: |
guix-commits |
Subject: |
14/16: gnu: Add libnitrokey. |
Date: |
Mon, 14 Feb 2022 09:53:42 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit aff2ba67e21cd236a6cbf70ae483d527d4bed8ef
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Sat Feb 5 23:25:44 2022 +0100
gnu: Add libnitrokey.
* gnu/packages/security-token.scm (libnitrokey): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/security-token.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
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")
- branch master updated (72dd5c8766 -> 41000d16c5), guix-commits, 2022/02/14
- 03/16: gnu: ghc@4: Use 'search-patches'., guix-commits, 2022/02/14
- 02/16: gnu: gcc: Add 2.95., guix-commits, 2022/02/14
- 05/16: gnu: Remove glibc@2.2.5 and gcc-2.95-wrapper., guix-commits, 2022/02/14
- 04/16: gnu: ghc@4: Build without referring to packages in commencement.scm., guix-commits, 2022/02/14
- 06/16: pull: '--list-generations' lists packages only with '--details'., guix-commits, 2022/02/14
- 08/16: ui: 'display-generation' uses color when talking to a pager., guix-commits, 2022/02/14
- 12/16: gnu: fcitx5-gtk: Add GTK 4 support., guix-commits, 2022/02/14
- 07/16: ui: 'with-paginated-output-port' gives access to the wrapped port., guix-commits, 2022/02/14
- 14/16: gnu: Add libnitrokey.,
guix-commits <=
- 15/16: gnu: Add cppcodec., guix-commits, 2022/02/14
- 01/16: gnu: nhc98: Build with the current tool chain., guix-commits, 2022/02/14
- 16/16: gnu: Add nitrokey-app., guix-commits, 2022/02/14
- 09/16: pull: '--list-generations' pipes its output to the pager., guix-commits, 2022/02/14
- 11/16: gnu: elixir: Fix regex for ERTS_BIN substitution., guix-commits, 2022/02/14
- 10/16: gnu: elixir: Fix file name argument to 'search-input-file'., guix-commits, 2022/02/14
- 13/16: gnu: fcitx5-gtk: Split IM module output for different version of GTK., guix-commits, 2022/02/14