guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: fmt: Use HTTPS and git-fetch.


From: guix-commits
Subject: 01/02: gnu: fmt: Use HTTPS and git-fetch.
Date: Fri, 6 Mar 2020 04:15:25 -0500 (EST)

ambrevar pushed a commit to branch master
in repository guix.

commit 744f445c920f60e9080f42866c802184a1503a80
Author: Pierre Neidhardt <address@hidden>
AuthorDate: Thu Mar 5 10:34:21 2020 +0100

    gnu: fmt: Use HTTPS and git-fetch.
    
    * gnu/packages/pretty-print.scm (fmt)[source]: Use git-fetch.
    [home-page]: Use HTTPS.
---
 gnu/packages/pretty-print.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index e656069..b9dce8f 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -25,6 +25,7 @@
 (define-module (gnu packages pretty-print)
   #:use-module (guix packages)
   #:use-module (guix licenses)
+  #:use-module (guix git-download)
   #:use-module (guix download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
@@ -168,19 +169,20 @@ different programming languages.")
     (name "fmt")
     (version "6.0.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/fmtlib/fmt/releases/download/";
-                    version "/fmt-" version ".zip"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/fmtlib/fmt";)
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0h148anbaqgch6n69pxsvs1c9wmykgd052wmzgdia7qpz8w6p8dl"))))
+                "0yfrw6by4h27k3psv9x1q7z2kdbz7pkwxidr494bpa6ppglij6ba"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
     (native-inputs
      `(("unzip" ,unzip)))
-    (home-page "http://fmtlib.net/";)
+    (home-page "https://fmtlib.net/";)
     (synopsis "Small and fast C++ formatting library")
     (description
      "@code{fmt} (formerly @code{cppformat}) is a formatting library for C++.



reply via email to

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