guix_mirror_bot pushed a commit to branch crypto-team
in repository guix.
commit 61ff951222718cda798df240ad985cbb2dc9d594
Author: Cayetano Santos <[email protected]>
AuthorDate: Sat May 30 16:43:53 2026 +0200
gnu: gnupg: Use git repository.
* GNU/packages/gnupg.scm (gnupg)[source]: Switch to git-fetch.
[native-inputs]: Add autoconf, automake and gettext-minimal.
[arguments]<#:configure-flags>: Disable doc; enable maintainer mode.
Change-Id: I33c953fef9e7bb98874c1c30b3f0f4cb6d7a449e
---
gnu/packages/gnupg.scm | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 1443b63328..3a37c20644 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -341,17 +341,22 @@ compatible to GNU Pth.")
;; <https://gnupg.org/download/index.html> for how to pick the right
;; version.
(version "2.5.20")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
- ".tar.bz2"))
- (patches (search-patches "gnupg-default-pinentry.patch"))
- (sha256
- (base32
- "1ipzi64i748hjmjvv2a5dh9i9hjldlsnrgls6yd42263k5p2cqb4"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://dev.gnupg.org/source/gnupg")
+ (commit (string-append "gnupg-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jjp1yv919b9l9qhgsmbray7g0k8mzmwldp38pm381i8nazr66hw"))))
(build-system gnu-build-system)
(native-inputs
- (list pkg-config))
+ (list autoconf
+ automake
+ gettext-minimal
+ pkg-config))
(inputs
(list gnutls
libassuan
@@ -388,6 +393,10 @@ compatible to GNU Pth.")
"--with-npth-prefix="
#$(this-package-input "npth")))
#~())
+ ;; TODO: There is a dependency cycle with fig2dev; remove when
+ ;; fixed.
+ "--disable-doc"
+ "--enable-maintainer-mode" ;see README.GIT
;; Otherwise, the test suite looks for the `gpg`
;; executable in its installation directory in
;; /gnu/store before it has been installed.