unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73010] [PATCH] gnu: Add fmt-11.
@ 2024-09-03 20:32 Greg Hogan
  2024-09-09 13:20 ` bug#73010: " Z572
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Hogan @ 2024-09-03 20:32 UTC (permalink / raw)
  To: 73010; +Cc: Greg Hogan

* gnu/packages/pretty-print.scm (fmt-11): New variable.
(fmt-10): Inherit from fmt-11.

Change-Id: Ic9f28cfb5a805f33beaad9794d69f992a5a27652
---
 gnu/packages/pretty-print.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index d8ff1664b47..3b9bdbb1527 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -170,17 +170,17 @@ (define-public enscript
 different programming languages.")
     (license gpl3+)))
 
-(define-public fmt-10
+(define-public fmt-11
   (package
     (name "fmt")
-    (version "10.2.1")
+    (version "11.0.2")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
                            version "/fmt-" version ".zip"))
        (sha256
-        (base32 "1j8nln7rql2nxkhdlgpmx1c1dp6dyxnar1n5r7sjg0rws6i5289i"))))
+        (base32 "0ralkidhqa16gyx8n1gm7r1d41rm2vf8zgd726g7b37kpjz5iz20"))))
     (build-system cmake-build-system)
     (arguments '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
     (native-inputs (list unzip))
@@ -192,6 +192,18 @@ (define-public fmt-10
     ;; The library is bsd-2, but documentation and tests include other licenses.
     (license (list bsd-2 bsd-3 psfl))))
 
+(define-public fmt-10
+  (package
+    (inherit fmt-11)
+    (version "10.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
+                           version "/fmt-" version ".zip"))
+       (sha256
+        (base32 "1j8nln7rql2nxkhdlgpmx1c1dp6dyxnar1n5r7sjg0rws6i5289i"))))))
+
 (define-public fmt-9
   (package
     (inherit fmt-10)

base-commit: 19e0b937857563e77841a4fc5433589fa98c810d
-- 
2.46.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#73010: [PATCH] gnu: Add fmt-11.
  2024-09-03 20:32 [bug#73010] [PATCH] gnu: Add fmt-11 Greg Hogan
@ 2024-09-09 13:20 ` Z572
  0 siblings, 0 replies; 2+ messages in thread
From: Z572 @ 2024-09-09 13:20 UTC (permalink / raw)
  To: Greg Hogan; +Cc: 73010-done

[-- Attachment #1: Type: text/plain, Size: 2089 bytes --]

Greg Hogan <code@greghogan.com> writes:

> * gnu/packages/pretty-print.scm (fmt-11): New variable.
> (fmt-10): Inherit from fmt-11.
>
> Change-Id: Ic9f28cfb5a805f33beaad9794d69f992a5a27652
> ---
>  gnu/packages/pretty-print.scm | 18 +++++++++++++++---
>  1 file changed, 15 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
> index d8ff1664b47..3b9bdbb1527 100644
> --- a/gnu/packages/pretty-print.scm
> +++ b/gnu/packages/pretty-print.scm
> @@ -170,17 +170,17 @@ (define-public enscript
>  different programming languages.")
>      (license gpl3+)))
>  
> -(define-public fmt-10
> +(define-public fmt-11
>    (package
>      (name "fmt")
> -    (version "10.2.1")
> +    (version "11.0.2")
>      (source
>       (origin
>         (method url-fetch)
>         (uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
>                             version "/fmt-" version ".zip"))

Adjust it to git-fetch. Because this is better.

>         (sha256
> -        (base32 "1j8nln7rql2nxkhdlgpmx1c1dp6dyxnar1n5r7sjg0rws6i5289i"))))
> +        (base32 "0ralkidhqa16gyx8n1gm7r1d41rm2vf8zgd726g7b37kpjz5iz20"))))
>      (build-system cmake-build-system)
>      (arguments '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
>      (native-inputs (list unzip))
> @@ -192,6 +192,18 @@ (define-public fmt-10
>      ;; The library is bsd-2, but documentation and tests include other licenses.
>      (license (list bsd-2 bsd-3 psfl))))
>  
> +(define-public fmt-10
> +  (package
> +    (inherit fmt-11)
> +    (version "10.2.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
> +                           version "/fmt-" version ".zip"))
> +       (sha256
> +        (base32 "1j8nln7rql2nxkhdlgpmx1c1dp6dyxnar1n5r7sjg0rws6i5289i"))))))
> +
>  (define-public fmt-9
>    (package
>      (inherit fmt-10)
>
> base-commit: 19e0b937857563e77841a4fc5433589fa98c810d

push, close.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-09 13:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 20:32 [bug#73010] [PATCH] gnu: Add fmt-11 Greg Hogan
2024-09-09 13:20 ` bug#73010: " Z572

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).