gnu: fmt: Update to 8.0.1.

* gnu/packages/pretty-print.scm (fmt): Update to 8.0.1,
(fmt-7): New variable.
* gnu/packages/astronomy.scm (celestia)[inputs],
gnu/packages/kodi.scm (kodi)[inputs],
gnu/packages/lua.scm (emilua)[inputs]: Change to fmt-7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Greg Hogan 2021-06-24 13:23:21 +00:00 committed by Ludovic Courtès
parent 357ecb777e
commit 459d7cfbc4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
4 changed files with 19 additions and 5 deletions

View file

@ -7,6 +7,7 @@
;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net> ;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -582,7 +583,7 @@ any arbitrary astrometric projection defined in the WCS standard.")
;; maybe required? ;; maybe required?
("mesa" ,mesa) ("mesa" ,mesa)
;; optional: fmtlib, Eigen3; ;; optional: fmtlib, Eigen3;
("fmt" ,fmt) ("fmt" ,fmt-7)
("eigen" ,eigen) ("eigen" ,eigen)
;; glut: for glut interface ;; glut: for glut interface
("freeglut" ,freeglut))) ("freeglut" ,freeglut)))

View file

@ -5,6 +5,7 @@
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -404,7 +405,7 @@ alternatives. In compilers, this can reduce the cascade of secondary errors.")
("ffmpeg" ,ffmpeg) ("ffmpeg" ,ffmpeg)
("flac" ,flac) ("flac" ,flac)
("flatbuffers" ,flatbuffers) ("flatbuffers" ,flatbuffers)
("fmt" ,fmt) ("fmt" ,fmt-7)
("fontconfig" ,fontconfig) ("fontconfig" ,fontconfig)
("freetype" ,freetype) ("freetype" ,freetype)
("fribidi" ,fribidi) ("fribidi" ,fribidi)

View file

@ -14,6 +14,7 @@
;;; Copyright © 2020 Simon South <simon@simonsouth.net> ;;; Copyright © 2020 Simon South <simon@simonsouth.net>
;;; Copyright © 2020 Paul A. Patience <paul@apatience.com> ;;; Copyright © 2020 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2021 Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com> ;;; Copyright © 2021 Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -1141,7 +1142,7 @@ shell command executions.")
(inputs (inputs
`(("boost" ,boost) `(("boost" ,boost)
("boost-static" ,boost-static) ("boost-static" ,boost-static)
("fmt" ,fmt) ("fmt" ,fmt-7)
;; LuaJIT has a 2GiB addressing limit[1] that has been fixed on OpenResty ;; LuaJIT has a 2GiB addressing limit[1] that has been fixed on OpenResty
;; fork. Emilua is severely affected by this limit, so the upstream package ;; fork. Emilua is severely affected by this limit, so the upstream package
;; is avoided. Emilua also depends on the -DLUAJIT_ENABLE_LUA52COMPAT ;; is avoided. Emilua also depends on the -DLUAJIT_ENABLE_LUA52COMPAT

View file

@ -168,14 +168,14 @@ different programming languages.")
(define-public fmt (define-public fmt
(package (package
(name "fmt") (name "fmt")
(version "7.1.3") (version "8.0.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/fmtlib/fmt/releases/download/" (uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
version "/fmt-" version ".zip")) version "/fmt-" version ".zip"))
(sha256 (sha256
(base32 "17sc10hfg087z0s774lnn05wwy3bfzmcv7j448p92pr0s02cb62x")))) (base32 "1gqmsk4r93x65cqs8w7zhfiv70w5fv8279nrblggqm4mmdpaa9x6"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
@ -190,6 +190,17 @@ to @code{IOStreams}.")
;; The library is bsd-2, but documentation and tests include other licenses. ;; The library is bsd-2, but documentation and tests include other licenses.
(license (list bsd-2 bsd-3 psfl)))) (license (list bsd-2 bsd-3 psfl))))
(define-public fmt-7
(package (inherit fmt)
(version "7.1.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
version "/fmt-" version ".zip"))
(sha256
(base32 "17sc10hfg087z0s774lnn05wwy3bfzmcv7j448p92pr0s02cb62x"))))))
(define-public fmt-for-irods (define-public fmt-for-irods
(package (package
(inherit fmt) (inherit fmt)