summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-09-14 18:49:41 +0200
committerAndreas Enge <andreas@enge.fr>2025-09-14 18:49:41 +0200
commit1d11e633e7d257e098df2bf80affd42f889669bc (patch)
treee3d6527903b538d0ab8a4e2c88cc6b3d63457257 /gnu
parente75d129fa5dd2a9695d4e3bcbddd229a94887abb (diff)
gnu: Remove fmt-6.
* gnu/packages/pretty-print.scm (fmt-6): Delete variable. Change-Id: I17cb2e67878f13cbe9e8f40b671fa5010cd97974
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/pretty-print.scm44
1 files changed, 0 insertions, 44 deletions
diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index 36cf1373834..0bfc8611d9f 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -300,50 +300,6 @@ a fast alternative to @code{IOStreams}.")
300 (sha256 300 (sha256
301 (base32 "0p8f82ijqa57sk72hjf0qviv1wwinmns0p87wiv2v8fvisnqnxr3")))))) 301 (base32 "0p8f82ijqa57sk72hjf0qviv1wwinmns0p87wiv2v8fvisnqnxr3"))))))
302 302
303(define-public fmt-6
304 (package
305 (inherit fmt-8)
306 (version "6.1.2")
307 (source
308 (origin
309 (method url-fetch)
310 (uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
311 version "/fmt-" version ".zip"))
312 (sha256
313 (base32 "1s1hxaby5byb07rgmrk4a0q11fxhz7b42khch7sp2qx974y0yrb3"))))
314 (build-system cmake-build-system)
315 (arguments
316 '(#:tests? #f ; TODO: posix-mock-test segfaults
317 #:configure-flags
318 '("-DBUILD_SHARED_LIBS=ON"
319 "-DCMAKE_CXX_COMPILER=clang++"
320 "-DCMAKE_CXX_FLAGS=-stdlib=libc++"
321 "-DCMAKE_EXE_LINKER_FLAGS=-lc++abi")
322 #:phases
323 (modify-phases %standard-phases
324 (add-after 'set-paths 'adjust-CPLUS_INCLUDE_PATH
325 (lambda* (#:key inputs #:allow-other-keys)
326 (let ((gcc (assoc-ref inputs "gcc")))
327 (setenv "CPLUS_INCLUDE_PATH"
328 (string-join
329 (cons (search-input-directory inputs "/include/c++/v1")
330 ;; Hide GCC's C++ headers so that they do not interfere with
331 ;; the Clang headers.
332 (delete (string-append gcc "/include/c++")
333 (string-split (getenv "CPLUS_INCLUDE_PATH")
334 #\:)))
335 ":"))
336 (format #true
337 "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
338 (getenv "CPLUS_INCLUDE_PATH"))))))))
339 (properties `((hidden? . #true)))
340 (native-inputs
341 (list unzip))
342 (inputs
343 `(("libcxx" ,libcxx+libcxxabi-6)
344 ("libcxxabi" ,libcxxabi-6)
345 ("clang" ,clang-6)))))
346
347;; Note: Updating fmt causes some 1000s of rebuilds, so let's have a pinned 303;; Note: Updating fmt causes some 1000s of rebuilds, so let's have a pinned
348;; version. When changing also update the pinned version of spdlog. 304;; version. When changing also update the pinned version of spdlog.
349(define-public fmt fmt-9) 305(define-public fmt fmt-9)