[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
48/62: gnu: nghttp2: Use G-expressions.
From: |
guix-commits |
Subject: |
48/62: gnu: nghttp2: Use G-expressions. |
Date: |
Sun, 26 Jun 2022 06:09:11 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 87c8b4087121b133b6ca7cd140c5ffecf1391cae
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Jun 26 02:43:01 2022 +0200
gnu: nghttp2: Use G-expressions.
* gnu/packages/web.scm (nghttp2)[arguments]: Convert to gexp.
---
gnu/packages/web.scm | 52 ++++++++++++++++++++++++++--------------------------
1 file changed, 26 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 6b34d5aa7a..8fef63a896 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -7515,32 +7515,32 @@ derivation by David Revoy from the original MonsterID
by Andreas Gohr.")
libxml2 ; for ‘nghttp -a’
openssl)))
(arguments
- `(#:configure-flags
- (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
- "--enable-app" ; build all the tools
- "--enable-hpack-tools" ; ...all the tools
- "--disable-examples"
- "--disable-static" ; don't bother building .a files
- ,@(if (%current-target-system)
- '("--disable-python-bindings")
- '()))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'break-circular-reference
- ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
- ;; which is not allowed. Break this cycle. While we could install
- ;; only the library to ‘out’ and move everything else to a separate
- ;; output, this would inconvenience the majority of (human) users.
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* "lib/libnghttp2.pc.in"
- (("@prefix@")
- (assoc-ref outputs "lib")))
- #t))
- (add-before 'check 'set-timezone-directory
- (lambda* (#:key inputs native-inputs #:allow-other-keys)
- (setenv "TZDIR" (search-input-directory
- (or native-inputs inputs)
- "share/zoneinfo")))))))
+ (list
+ #:configure-flags
+ #~(list (string-append "--libdir=" #$output:lib "/lib")
+ "--enable-app" ; build all the tools
+ "--enable-hpack-tools" ; ...all the tools
+ "--disable-examples"
+ "--disable-static" ; don't bother building .a files
+ #$@(if (%current-target-system)
+ '("--disable-python-bindings")
+ '()))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'break-circular-reference
+ ;; libnghttp2.pc by default retains a reference to the ‘out’
output,
+ ;; which is not allowed. Break this cycle. While we could install
+ ;; only the library to ‘out’ and move everything else to a separate
+ ;; output, this would inconvenience the majority of (human) users.
+ (lambda _
+ (substitute* "lib/libnghttp2.pc.in"
+ (("@prefix@")
+ #$output:lib))))
+ (add-before 'check 'set-timezone-directory
+ (lambda* (#:key inputs native-inputs #:allow-other-keys)
+ (setenv "TZDIR" (search-input-directory
+ (or native-inputs inputs)
+ "share/zoneinfo")))))))
(home-page "https://nghttp2.org/")
(synopsis "HTTP/2 protocol client, proxy, server, and library")
(description
- 58/62: gnu: libjpeg-turbo: Update to 2.1.3., (continued)
- 58/62: gnu: libjpeg-turbo: Update to 2.1.3., guix-commits, 2022/06/26
- 57/62: gnu: rhash: Update to 1.4.3., guix-commits, 2022/06/26
- 62/62: gnu: ninja: Remove input label., guix-commits, 2022/06/26
- 08/62: gnu: lzip: Update to 1.23., guix-commits, 2022/06/26
- 19/62: gnu: libxslt: Remove input labels., guix-commits, 2022/06/26
- 10/62: gnu: libcap: Update to 2.64., guix-commits, 2022/06/26
- 30/62: gnu: libidn: Update to 1.41., guix-commits, 2022/06/26
- 24/62: gnu: libxcb: Update to 1.15., guix-commits, 2022/06/26
- 41/62: gnu: c-ares: Update to 1.18.1., guix-commits, 2022/06/26
- 46/62: gnu: nghttp2: Update to 1.48.0., guix-commits, 2022/06/26
- 48/62: gnu: nghttp2: Use G-expressions.,
guix-commits <=
- 50/62: gnu: procps: Update to 4.0.0., guix-commits, 2022/06/26
- 05/62: gnu: m4: Update to 1.4.19., guix-commits, 2022/06/26
- 18/62: gnu: libxslt: Update to 1.1.35., guix-commits, 2022/06/26
- 21/62: gnu: libXft: Remove input labels., guix-commits, 2022/06/26
- 25/62: gnu: libxcb: Remove input labels., guix-commits, 2022/06/26
- 15/62: gnu: Python: Update to 3.9.13., guix-commits, 2022/06/26
- 31/62: gnu: libmnl: Add release-monitoring-url., guix-commits, 2022/06/26
- 14/62: gnu: SQLite: Update to 3.39.0., guix-commits, 2022/06/26
- 35/62: gnu: libnftnl/fixed: Update to 1.2.2., guix-commits, 2022/06/26
- 38/62: gnu: libuv: Update to 1.44.1., guix-commits, 2022/06/26