gnu: fmt: Update to 10.0.0.

* gnu/packages/pretty-print.scm (fmt-10): New variable.
(fmt-9): Inherit from fmt-10.
(fmt-8): Inherit from fmt-9.
(fmt-8.0, fmt-7): Inherit from fmt-8.
(fmt-6): Inherit from fmt-7.
(fmt): New variable.
This commit is contained in:
Liliana Marie Prikler 2023-06-13 20:43:48 +02:00
parent 01d5d6807f
commit 5cc63206bb
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -167,17 +167,17 @@ (define-public enscript
different programming languages.") different programming languages.")
(license gpl3+))) (license gpl3+)))
(define-public fmt (define-public fmt-10
(package (package
(name "fmt") (name "fmt")
(version "9.1.0") (version "10.0.0")
(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 "15n9yi6xzzs7g9rm87kg8y5yhl2zrqj3bjr845saa63f6swlrsyc")))) (base32 "10f23avnpad8sakmq514w2bw6cw7xrb30kc3v8k7yn1zbwbcnhs9"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) (arguments '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
(native-inputs (list unzip)) (native-inputs (list unzip))
@ -189,9 +189,21 @@ (define-public fmt
;; 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-9
(package
(inherit fmt-10)
(version "9.1.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
version "/fmt-" version ".zip"))
(sha256
(base32 "15n9yi6xzzs7g9rm87kg8y5yhl2zrqj3bjr845saa63f6swlrsyc"))))))
(define-public fmt-8 (define-public fmt-8
(package (package
(inherit fmt) (inherit fmt-9)
(version "8.1.1") (version "8.1.1")
(source (source
(origin (origin
@ -203,7 +215,7 @@ (define-public fmt-8
(define-public fmt-8.0 (define-public fmt-8.0
(package (package
(inherit fmt) (inherit fmt-8)
(version "8.0.1") (version "8.0.1")
(source (source
(origin (origin
@ -215,7 +227,7 @@ (define-public fmt-8.0
(define-public fmt-7 (define-public fmt-7
(package (package
(inherit fmt) (inherit fmt-8)
(version "7.1.3") (version "7.1.3")
(source (source
(origin (origin
@ -227,7 +239,7 @@ (define-public fmt-7
(define-public fmt-6 (define-public fmt-6
(package (package
(inherit fmt) (inherit fmt-7)
(version "6.1.2") (version "6.1.2")
(source (source
(origin (origin
@ -269,6 +281,10 @@ (define-public fmt-6
("libcxxabi" ,libcxxabi-6) ("libcxxabi" ,libcxxabi-6)
("clang" ,clang-6))))) ("clang" ,clang-6)))))
;; Note: Updating fmt causes some 1000s of rebuilds, so let's have a pinned
;; version.
(define-public fmt fmt-9)
(define-public source-highlight (define-public source-highlight
(package (package
(name "source-highlight") (name "source-highlight")