summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/gnupg.scm27
1 files changed, 18 insertions, 9 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 1443b633287..3a37c20644d 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -341,17 +341,22 @@ compatible to GNU Pth.")
341 ;; <https://gnupg.org/download/index.html> for how to pick the right 341 ;; <https://gnupg.org/download/index.html> for how to pick the right
342 ;; version. 342 ;; version.
343 (version "2.5.20") 343 (version "2.5.20")
344 (source (origin 344 (source
345 (method url-fetch) 345 (origin
346 (uri (string-append "mirror://gnupg/gnupg/gnupg-" version 346 (method git-fetch)
347 ".tar.bz2")) 347 (uri (git-reference
348 (patches (search-patches "gnupg-default-pinentry.patch")) 348 (url "https://dev.gnupg.org/source/gnupg")
349 (sha256 349 (commit (string-append "gnupg-" version))))
350 (base32 350 (file-name (git-file-name name version))
351 "1ipzi64i748hjmjvv2a5dh9i9hjldlsnrgls6yd42263k5p2cqb4")))) 351 (sha256
352 (base32
353 "1jjp1yv919b9l9qhgsmbray7g0k8mzmwldp38pm381i8nazr66hw"))))
352 (build-system gnu-build-system) 354 (build-system gnu-build-system)
353 (native-inputs 355 (native-inputs
354 (list pkg-config)) 356 (list autoconf
357 automake
358 gettext-minimal
359 pkg-config))
355 (inputs 360 (inputs
356 (list gnutls 361 (list gnutls
357 libassuan 362 libassuan
@@ -388,6 +393,10 @@ compatible to GNU Pth.")
388 "--with-npth-prefix=" 393 "--with-npth-prefix="
389 #$(this-package-input "npth"))) 394 #$(this-package-input "npth")))
390 #~()) 395 #~())
396 ;; TODO: There is a dependency cycle with fig2dev; remove when
397 ;; fixed.
398 "--disable-doc"
399 "--enable-maintainer-mode" ;see README.GIT
391 ;; Otherwise, the test suite looks for the `gpg` 400 ;; Otherwise, the test suite looks for the `gpg`
392 ;; executable in its installation directory in 401 ;; executable in its installation directory in
393 ;; /gnu/store before it has been installed. 402 ;; /gnu/store before it has been installed.