[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/16: gnu: nghttp2-for-node: Fix Python version check.
From: |
guix-commits |
Subject: |
02/16: gnu: nghttp2-for-node: Fix Python version check. |
Date: |
Tue, 30 Aug 2022 14:44:45 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 0d1c22494bca317e99ee3260c144fb70b1aa34ac
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Aug 12 22:16:54 2022 +0200
gnu: nghttp2-for-node: Fix Python version check.
* gnu/packages/web.scm (nghttp2-for-node)[arguments]: New field.
---
gnu/packages/web.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 0d9bdb13be..7f0f265217 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -7589,7 +7589,20 @@ compressed JSON header blocks.
"nghttp2-" version ".tar.xz"))
(sha256
(base32
- "0p9wvva4g8hwj55x19rbyvnq2dbsnf65rphhxnpqs7ll54xlg6an")))))))
+ "0p9wvva4g8hwj55x19rbyvnq2dbsnf65rphhxnpqs7ll54xlg6an"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments nghttp2)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'workaround-broken-python-version-check
+ (lambda _
+ (substitute* "configure"
+ ;; The configure script uses a string comparison to
+ ;; determine whether the Python interpreter is recent
+ ;; enough, which fails when comparing 3.8 to 3.10.
+ ;; Convert to tuples for a more reliable check.
+ (("print \\(ver >= '3\\.8'\\)")
+ "print (tuple(map(int, ver.split('.'))) >=
(3,8))")))))))))))
(define-public hpcguix-web
(package
- branch core-updates updated (59c136ef61 -> c5d62ec323), guix-commits, 2022/08/30
- 02/16: gnu: nghttp2-for-node: Fix Python version check.,
guix-commits <=
- 01/16: gnu: python-numpy: Avoid usage of 'this-package-input'., guix-commits, 2022/08/30
- 03/16: gnu: libpaper: Update to 1.2.3., guix-commits, 2022/08/30
- 05/16: gnu: libjpeg-turbo: Use G-expression., guix-commits, 2022/08/30
- 07/16: gnu: cURL: Use G-expression., guix-commits, 2022/08/30
- 13/16: gnu: pcsc-lite: Update to 1.9.8., guix-commits, 2022/08/30
- 08/16: gnu: nghttp2: Update to 1.49.0., guix-commits, 2022/08/30
- 09/16: gnu: libtasn1: Update to 4.19.0., guix-commits, 2022/08/30
- 11/16: gnu: gnupg: Update to 2.2.37., guix-commits, 2022/08/30
- 10/16: gnu: GnuTLS: Update to 3.7.7., guix-commits, 2022/08/30
- 06/16: gnu: cURL: Remove input labels., guix-commits, 2022/08/30