guix-commits
[Top][All Lists]
Advanced

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

02/10: gnu: font-adobe-source-sans-pro: Don't use unstable tarball.


From: guix-commits
Subject: 02/10: gnu: font-adobe-source-sans-pro: Don't use unstable tarball.
Date: Wed, 22 Jan 2020 18:33:31 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit ed08e4ecaee2d14e1883ce8675d69aad53da51bc
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Tue Jan 21 04:27:51 2020 +0100

    gnu: font-adobe-source-sans-pro: Don't use unstable tarball.
    
    * gnu/packages/fonts.scm (font-adobe-source-sans-pro)[source]: Use 
GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/fonts.scm | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index d16b9a1..dd635ba 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -887,18 +887,18 @@ designed to work well in user interface environments.")
   (package
     (name "font-adobe-source-sans-pro")
     (version "2.040R-ro-1.090R-it")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/adobe-fonts/source-sans-pro/archive/";
-                    (regexp-substitute/global
-                     ;; The upstream tag uses "/" between the roman and italic
-                     ;; versions, so substitute our "-" separator here.
-                     #f "R-ro-" version 'pre "R-ro/" 'post) ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1wpbhd2idps53ph8rg1mhr3vz4lsgbpjprcq10nliwcxdz9d8lv0"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/adobe-fonts/source-sans-pro.git";)
+             (commit (regexp-substitute/global
+                      ;; The upstream tag uses "/" between the roman and italic
+                      ;; versions, so substitute our "-" separator here.
+                      #f "R-ro-" version 'pre "R-ro/" 'post))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lzin2hfwidbvhps7shs201p1bpxy6220xmhhprv9fc8bknd4c45"))))
     (build-system font-build-system)
     (home-page "https://github.com/adobe-fonts/source-sans-pro";)
     (synopsis



reply via email to

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