guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: fmt: Switch back to url-fetch.


From: guix-commits
Subject: branch master updated: gnu: fmt: Switch back to url-fetch.
Date: Sat, 07 Mar 2020 06:37:26 -0500

This is an automated email from the git hooks/post-receive script.

ambrevar pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new ece22a2  gnu: fmt: Switch back to url-fetch.
ece22a2 is described below

commit ece22a25b6d94b99748fcfc3dbdb492f9d99ea12
Author: Pierre Neidhardt <address@hidden>
AuthorDate: Sat Mar 7 12:35:32 2020 +0100

    gnu: fmt: Switch back to url-fetch.
    
    * gnu/packages/pretty-print.scm (fmt)[source]: Use url-fetch instead of
      git-fetch since upstream uploads releases.  Both approaches produce the
      same package, but git-fetch requires more bandwidth.
---
 gnu/packages/pretty-print.scm | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index c5012b3..18e5576 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -169,14 +169,12 @@ different programming languages.")
     (name "fmt")
     (version "6.1.2")
     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/fmtlib/fmt";)
-                    (commit version)))
-              (file-name (git-file-name name version))
+              (method url-fetch)
+              (uri (string-append 
"https://github.com/fmtlib/fmt/releases/download/";
+                                  version "/fmt-" version ".zip"))
               (sha256
                (base32
-                "1ngb2fd7c2jnxi3x5kjgxmpixmyc737f77vibij43dl77ybiaihi"))))
+                "1s1hxaby5byb07rgmrk4a0q11fxhz7b42khch7sp2qx974y0yrb3"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]