summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2026-08-18 13:52:57 +0200
committerAndreas Enge <andreas@enge.fr>2026-08-24 18:47:07 +0200
commit6902440c12e6f4d625a8461e83535f64a73b45b4 (patch)
tree8ee8d90534966d54b6e76bbf76437a7f840684a5
parente0a8decad9b923a28ed8660781a2c66b09bed1bd (diff)
gnu: gnupg: Revert to using tarballs as source.
This effectively reverts commits b6e750acb81debe75c5b844bcb80751a51f5bebc and 397c4847e3a1108cd7afebc4ff5524ca054ee4bd . * gnu/packages/gnupg.scm (gnupg): Copy-paste the package definition of commit e660026a1625db74f844bbd96a6681ca0fe922b3 . Fixes: guix/guix#10622 Fixes: guix/guix#10773
-rw-r--r--gnu/packages/gnupg.scm29
1 files changed, 11 insertions, 18 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 70e0a562b28..ebad0636f3b 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -339,22 +339,19 @@ compatible to GNU Pth.")
339 ;; <https://gnupg.org/download/index.html> for how to pick the right 339 ;; <https://gnupg.org/download/index.html> for how to pick the right
340 ;; version. 340 ;; version.
341 (version "2.5.20") 341 (version "2.5.20")
342 (source 342 (source (origin
343 (origin 343 ;; Use tarballs instead of git, see the discussion at
344 (method git-fetch) 344 ;; https://codeberg.org/guix/guix/issues/10622 .
345 (uri (git-reference 345 (method url-fetch)
346 (url "https://github.com/gpg/gnupg") 346 (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
347 (commit (string-append "gnupg-" version)))) 347 ".tar.bz2"))
348 (file-name (git-file-name name version)) 348 (patches (search-patches "gnupg-default-pinentry.patch"))
349 (sha256 349 (sha256
350 (base32 350 (base32
351 "1jjp1yv919b9l9qhgsmbray7g0k8mzmwldp38pm381i8nazr66hw")))) 351 "1ipzi64i748hjmjvv2a5dh9i9hjldlsnrgls6yd42263k5p2cqb4"))))
352 (build-system gnu-build-system) 352 (build-system gnu-build-system)
353 (native-inputs 353 (native-inputs
354 (list autoconf 354 (list pkg-config))
355 automake
356 gettext-minimal
357 pkg-config))
358 (inputs 355 (inputs
359 (list gnutls 356 (list gnutls
360 libassuan 357 libassuan
@@ -391,10 +388,6 @@ compatible to GNU Pth.")
391 "--with-npth-prefix=" 388 "--with-npth-prefix="
392 #$(this-package-input "npth"))) 389 #$(this-package-input "npth")))
393 #~()) 390 #~())
394 ;; TODO: There is a dependency cycle with fig2dev; remove when
395 ;; fixed.
396 "--disable-doc"
397 "--enable-maintainer-mode" ;see README.GIT
398 ;; Otherwise, the test suite looks for the `gpg` 391 ;; Otherwise, the test suite looks for the `gpg`
399 ;; executable in its installation directory in 392 ;; executable in its installation directory in
400 ;; /gnu/store before it has been installed. 393 ;; /gnu/store before it has been installed.