From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 63859@debbugs.gnu.org
Subject: [bug#63859] [PATCH 2/2] gnu: Add otpclient.
Date: Fri, 2 Jun 2023 23:39:25 +0200 [thread overview]
Message-ID: <0622cb2ed6ec59903947c00bc6bea57d9a85497a.1685743497.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <cover.1685743497.git.liliana.prikler@gmail.com>
* gnu/packages/password-utils.scm (otpclient): New variable.
---
gnu/packages/password-utils.scm | 54 +++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index f5f301308a..cd77024e7e 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -102,6 +102,7 @@ (define-module (gnu packages password-utils)
#:use-module (gnu packages opencl)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
@@ -114,6 +115,7 @@ (define-module (gnu packages password-utils)
#:use-module (gnu packages tls)
#:use-module (gnu packages qt)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages web)
#:use-module (gnu packages wxwidgets)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg)
@@ -304,6 +306,58 @@ (define-public pwsafe-cli
Counterpane's Passwordsafe.")
(license license:gpl2+))))
+(define-public otpclient
+ (package
+ (name "otpclient")
+ (version "3.1.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/paolostivanin/OTPClient")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cwn4spddhg099hcqcvzgbws3xpmnd29g1vayk36118x94wmajaf"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:modules `(((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
+ (guix build cmake-build-system)
+ (guix build utils))
+ #:imported-modules `((guix build glib-or-gtk-build-system)
+ ,@%cmake-build-system-modules)
+ #:tests? #f ; No tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file
+ (assoc-ref glib-or-gtk:%standard-phases
+ 'generate-gdk-pixbuf-loaders-cache-file))
+ (add-after 'wrap 'glib-or-gtk-compile-schemas
+ (assoc-ref glib-or-gtk:%standard-phases
+ 'glib-or-gtk-compile-schemas))
+ (add-after 'wrap 'glib-or-gtk-wrap
+ (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+ (inputs (list adwaita-icon-theme
+ libcotp
+ libgcrypt
+ libsecret
+ libzip
+ hicolor-icon-theme
+ gtk+
+ jansson
+ protobuf
+ protobuf-c
+ qrencode
+ zbar))
+ (native-inputs (list pkg-config protobuf))
+ (home-page "https://github.com/paolostivanin/OTPClient")
+ (synopsis "Two-factor authentication client")
+ (description "OTPClient is a GTK+-based @acronym{OTP, One Time Password}
+client, supporting @acronym{TOTP, Time-based one time passwords} and
+@acronym{HOTP,HMAC-based one time passwords}.")
+ (license license:gpl3)))
+
(define-public shroud
(package
(name "shroud")
--
2.40.1
next prev parent reply other threads:[~2023-06-02 22:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-02 22:04 [bug#63859] [PATCH 0/2] Add otpclient Liliana Marie Prikler
2023-06-02 21:39 ` [bug#63859] [PATCH 1/2] gnu: Add libcotp Liliana Marie Prikler
2023-06-02 21:39 ` Liliana Marie Prikler [this message]
2023-06-11 8:10 ` [bug#63859] [PATCH 0/2] Add otpclient Liliana Marie Prikler
2023-06-11 8:11 ` bug#63859: " Liliana Marie Prikler
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0622cb2ed6ec59903947c00bc6bea57d9a85497a.1685743497.git.liliana.prikler@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=63859@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.