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:
		
							parent
							
								
									357ecb777e
								
							
						
					
					
						commit
						459d7cfbc4
					
				
					 4 changed files with 19 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -7,6 +7,7 @@
 | 
			
		|||
;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
 | 
			
		||||
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
 | 
			
		||||
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 | 
			
		||||
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 | 
			
		||||
;;;
 | 
			
		||||
;;; This file is part of GNU Guix.
 | 
			
		||||
;;;
 | 
			
		||||
| 
						 | 
				
			
			@ -582,7 +583,7 @@ any arbitrary astrometric projection defined in the WCS standard.")
 | 
			
		|||
         ;; maybe required?
 | 
			
		||||
         ("mesa" ,mesa)
 | 
			
		||||
         ;; optional: fmtlib, Eigen3;
 | 
			
		||||
         ("fmt" ,fmt)
 | 
			
		||||
         ("fmt" ,fmt-7)
 | 
			
		||||
         ("eigen" ,eigen)
 | 
			
		||||
         ;; glut: for glut interface
 | 
			
		||||
         ("freeglut" ,freeglut)))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@
 | 
			
		|||
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
			
		||||
;;; Copyright © 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
 | 
			
		||||
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
 | 
			
		||||
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 | 
			
		||||
;;;
 | 
			
		||||
;;; This file is part of GNU Guix.
 | 
			
		||||
;;;
 | 
			
		||||
| 
						 | 
				
			
			@ -404,7 +405,7 @@ alternatives. In compilers, this can reduce the cascade of secondary errors.")
 | 
			
		|||
       ("ffmpeg" ,ffmpeg)
 | 
			
		||||
       ("flac" ,flac)
 | 
			
		||||
       ("flatbuffers" ,flatbuffers)
 | 
			
		||||
       ("fmt" ,fmt)
 | 
			
		||||
       ("fmt" ,fmt-7)
 | 
			
		||||
       ("fontconfig" ,fontconfig)
 | 
			
		||||
       ("freetype" ,freetype)
 | 
			
		||||
       ("fribidi" ,fribidi)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,6 +14,7 @@
 | 
			
		|||
;;; Copyright © 2020 Simon South <simon@simonsouth.net>
 | 
			
		||||
;;; Copyright © 2020 Paul A. Patience <paul@apatience.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.
 | 
			
		||||
;;;
 | 
			
		||||
| 
						 | 
				
			
			@ -1141,7 +1142,7 @@ shell command executions.")
 | 
			
		|||
   (inputs
 | 
			
		||||
    `(("boost" ,boost)
 | 
			
		||||
      ("boost-static" ,boost-static)
 | 
			
		||||
      ("fmt" ,fmt)
 | 
			
		||||
      ("fmt" ,fmt-7)
 | 
			
		||||
      ;; 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
 | 
			
		||||
      ;; is avoided. Emilua also depends on the -DLUAJIT_ENABLE_LUA52COMPAT
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -168,14 +168,14 @@ different programming languages.")
 | 
			
		|||
(define-public fmt
 | 
			
		||||
  (package
 | 
			
		||||
    (name "fmt")
 | 
			
		||||
    (version "7.1.3")
 | 
			
		||||
    (version "8.0.1")
 | 
			
		||||
    (source
 | 
			
		||||
     (origin
 | 
			
		||||
       (method url-fetch)
 | 
			
		||||
       (uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
 | 
			
		||||
                           version "/fmt-" version ".zip"))
 | 
			
		||||
       (sha256
 | 
			
		||||
        (base32 "17sc10hfg087z0s774lnn05wwy3bfzmcv7j448p92pr0s02cb62x"))))
 | 
			
		||||
        (base32 "1gqmsk4r93x65cqs8w7zhfiv70w5fv8279nrblggqm4mmdpaa9x6"))))
 | 
			
		||||
    (build-system cmake-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     '(#: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.
 | 
			
		||||
    (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
 | 
			
		||||
  (package
 | 
			
		||||
    (inherit fmt)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue