summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2026-08-22 09:59:25 +0000
committerAndreas Enge <andreas@enge.fr>2026-08-28 16:40:53 +0200
commitd8ae8fa7c71f7b356dd2d46c5207deb0412203ff (patch)
treedf188aba6a106f7df994d95aa01e4c8ab24a525a /gnu
parenta5c1917ea69d7ca4df151d1840133537fdffd667 (diff)
Revert "gnu: libgcrypt: Use git repository."
libgcrypt needs the git information to bootstrap autotools. This reverts commit 9bbe3b2d68104f65b5003f9c0d24ee78b5fa3573. Fixes: guix/guix#10721 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnupg.scm24
1 files changed, 7 insertions, 17 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 1d25a653d85..0847d006812 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -174,16 +174,13 @@ Daemon and possibly more in the future.")
174 (package 174 (package
175 (name "libgcrypt") 175 (name "libgcrypt")
176 (version "1.12.2") 176 (version "1.12.2")
177 (source 177 (source (origin
178 (origin 178 (method url-fetch)
179 (method git-fetch) 179 (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-"
180 (uri (git-reference 180 version ".tar.bz2"))
181 (url "https://github.com/gpg/libgcrypt") 181 (sha256
182 (commit (string-append "libgcrypt-" version)))) 182 (base32
183 (file-name (git-file-name name version)) 183 "0pmxp91sirqmsiy7asnjbz5ksglzbqhh11baz4v086i2j8j3rqvw"))))
184 (sha256
185 (base32
186 "1mrh5dwzvw63pdl2jvahgd5vacrk684qjzlhimm58gj68shndssh"))))
187 (build-system gnu-build-system) 184 (build-system gnu-build-system)
188 (arguments 185 (arguments
189 ;; The '--with-gpg-error-prefix' argument is needed because otherwise 186 ;; The '--with-gpg-error-prefix' argument is needed because otherwise
@@ -192,7 +189,6 @@ Daemon and possibly more in the future.")
192 (list 189 (list
193 #:configure-flags 190 #:configure-flags
194 #~(append 191 #~(append
195 (list "--enable-maintainer-mode") ;see README.GIT
196 (let ((gpgrt-config (search-input-file #$(if (%current-target-system) 192 (let ((gpgrt-config (search-input-file #$(if (%current-target-system)
197 #~%build-target-inputs 193 #~%build-target-inputs
198 #~%build-inputs) 194 #~%build-inputs)
@@ -205,10 +201,6 @@ Daemon and possibly more in the future.")
205 ;; not respected. See <https://dev.gnupg.org/T5365>. 201 ;; not respected. See <https://dev.gnupg.org/T5365>.
206 ;; TODO: transition to pkg-config instead of these scripts. 202 ;; TODO: transition to pkg-config instead of these scripts.
207 (string-append "ac_cv_path_GPGRT_CONFIG=" gpgrt-config))) 203 (string-append "ac_cv_path_GPGRT_CONFIG=" gpgrt-config)))
208
209 ;; TODO: There is a dependency cycle with fig2dev; remove when
210 ;; fixed.
211 (list "--disable-doc")
212 #$@(if (%current-target-system) 204 #$@(if (%current-target-system)
213 ;; When cross-compiling, _gcry_mpih_lshift etc are 205 ;; When cross-compiling, _gcry_mpih_lshift etc are
214 ;; undefined. 206 ;; undefined.
@@ -223,8 +215,6 @@ Daemon and possibly more in the future.")
223 (else #~()))))) 215 (else #~())))))
224 (outputs '("out" "debug")) 216 (outputs '("out" "debug"))
225 (propagated-inputs (list libgpg-error)) 217 (propagated-inputs (list libgpg-error))
226 (native-inputs
227 (list autoconf automake))
228 (home-page "https://gnupg.org/software/libgcrypt") 218 (home-page "https://gnupg.org/software/libgcrypt")
229 (synopsis "Cryptographic function library") 219 (synopsis "Cryptographic function library")
230 (description 220 (description