[PATCH] gnu: font-ibm-plex: Use git source.

  • Done
  • quality assurance status badge
Details
2 participants
  • Arun Isaac
  • Ludovic Courtès
Owner
unassigned
Submitted by
Arun Isaac
Severity
normal
A
A
Arun Isaac wrote on 19 Sep 2022 00:09
(address . guix-patches@gnu.org)(name . Arun Isaac)(address . arunisaac@systemreboot.net)
20220918220937.7722-1-arunisaac@systemreboot.net
* gnu/packages/fonts.scm (font-ibm-plex)[source]: Use git source.
---
gnu/packages/fonts.scm | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index cf3892ae8d..83e3a2c945 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -118,14 +118,18 @@ (define-public font-ibm-plex
(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")
--
2.37.2
L
L
Ludovic Courtès wrote on 15 Oct 2022 00:43
(name . Arun Isaac)(address . arunisaac@systemreboot.net)(address . 57918@debbugs.gnu.org)
87pmeuhvqi.fsf@gnu.org
Arun Isaac <arunisaac@systemreboot.net> skribis:

Toggle quote (2 lines)
> * gnu/packages/fonts.scm (font-ibm-plex)[source]: Use git source.

Got for it! :-)

Ludo'.
A
A
Arun Isaac wrote on 15 Oct 2022 11:15
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 57918-done@debbugs.gnu.org)
87a65xjvmb.fsf@systemreboot.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (6 lines)
> Arun Isaac <arunisaac@systemreboot.net> skribis:
>
>> * gnu/packages/fonts.scm (font-ibm-plex)[source]: Use git source.
>
> Got for it! :-)

Pushed, thanks!
Closed
?