aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gnupg.scm
diff options
context:
space:
mode:
authorNikita Domnitskii <nikita@domnitskii.me>2021-06-28 12:07:27 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-07-08 15:02:38 +0200
commit8edb6778cfdbab8d70e97223bbfd28a208953a9a (patch)
treeb642068483c1ba34a8efae1c8dd688bae5c527e0 /gnu/packages/gnupg.scm
parentc111fa60675b8a216225a6920c70ec92e891bed5 (diff)
downloadguix-8edb6778cfdbab8d70e97223bbfd28a208953a9a.tar
guix-8edb6778cfdbab8d70e97223bbfd28a208953a9a.tar.gz
gnu: Add pinentry-bemenu.
* gnu/packages/gnupg.scm (pinentry-bemenu): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/gnupg.scm')
-rw-r--r--gnu/packages/gnupg.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 9cc94dddb6..97714c7938 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Fredrik Salomonsson <plattfot@posteo.net>
+;;; Copyright © 2021 Nikita Domnitskii <nikita@domnitskii.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -70,6 +71,8 @@
#:use-module (gnu packages xorg)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)
+ #:use-module (gnu packages popt)
+ #:use-module (gnu packages xdisorg)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
@@ -77,6 +80,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
+ #:use-module (guix build-system meson)
#:use-module (srfi srfi-1))
(define-public libgpg-error
@@ -946,6 +950,33 @@ with @code{rofi-pass} a good front end for @code{password-store}.")
(home-page "https://github.com/plattfot/pinentry-rofi/")
(license license:gpl3+)))
+(define-public pinentry-bemenu
+ (package
+ (name "pinentry-bemenu")
+ (version "0.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/t-8ch/pinentry-bemenu")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1faxaydhc9lr97b2r3sylcy320bn54g4a5p727y3227mz3gg1mn1"))))
+ (build-system meson-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("bemenu" ,bemenu)
+ ("libassuan" ,libassuan)
+ ("libgpg-error" ,libgpg-error)
+ ("popt" ,popt)))
+ (home-page "https://github.com/t-8ch/pinentry-bemenu")
+ (synopsis "Pinentry implementation based on @code{bemenu}")
+ (description
+ "This package provides a Pinentry implementation based on Bemenu.")
+ (license license:gpl3)))
+
(define-public pinentry
(package (inherit pinentry-gtk2)
(name "pinentry")))