guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: font-ibm-plex: Use git source.


From: guix-commits
Subject: branch master updated: gnu: font-ibm-plex: Use git source.
Date: Sat, 15 Oct 2022 04:14:42 -0400

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

arunisaac pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5f414c8edb gnu: font-ibm-plex: Use git source.
5f414c8edb is described below

commit 5f414c8edbd9ef8a00ca1ab53ab97cda55e4c516
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Sep 19 03:37:11 2022 +0530

    gnu: font-ibm-plex: Use git source.
    
    * gnu/packages/fonts.scm (font-ibm-plex)[source]: Use git source.
---
 gnu/packages/fonts.scm | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 2d653abf32..63f274e59d 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -118,14 +118,18 @@ titling.")
   (package
     (name "font-ibm-plex")
     (version "6.1.1")
+    ;; We prefer git-fetch since it lets us get the opentype, truetype and web
+    ;; fonts all in one download. The zip archive releases separate the
+    ;; opentype, truetype and web fonts into three separate archives.
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/IBM/plex/releases/download/";
-                    "v" version "/OpenType.zip"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/IBM/plex";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1z9nxac9ha6gqz5yvfy5lp6hyl39f8f8hdrw3llcp89rdpjfqdn9"))))
+                "1jxyd0zl7jssn7mwz8x5xvjmw59x4mn82s2kywf9583k1pg949k1"))))
     (build-system font-build-system)
     (home-page "https://github.com/IBM/plex";)
     (synopsis "IBM Plex typeface")



reply via email to

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