[PATCH] Add Iosevka font "Term" variants

DoneSubmitted by John Soo.
Details
2 participants
  • John Soo
  • Marius Bakke
Owner
unassigned
Severity
normal
J
J
John Soo wrote on 29 Mar 2020 12:14
(address . guix-patches@gnu.org)
87ftdrpix3.fsf@asu.edu
Hi Guix,

I recently found the term variants of Iosevka and really dig them.

I hope you do to,

John
Toggle quote (1 lines)
>From 7c2268f1e7195a7ba531a960a429409db9967b1d Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 19 Mar 2020 12:23:14 -0700
Subject: [PATCH 1/2] gnu: Add font-iosevka-term-slab.

* gnu/packages/fonts.scm (font-iosevka-term-slab): New variable.
---
gnu/packages/fonts.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 5fb6bbbe18..be0b946f60 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1177,6 +1177,27 @@ programming.  Iosevka is completely generated from its source code.")
        (sha256
         (base32 "1rkmgi08kknc1fg54zpa6w92m3b3v7pc8cpwygz22kgd2h0mdrr8"))))))
 
+(define-public font-iosevka-term-slab
+  (package
+    (inherit font-iosevka)
+    (name "font-iosevka-term-slab")
+    (version (package-version font-iosevka))
+    (source
+     (origin
+       (method url-fetch/zipbomb)
+       (uri (string-append "https://github.com/be5invis/Iosevka"
+                           "/releases/download/v" version
+                           "/06-iosevka-term-slab-" version ".zip"))
+       (sha256
+        (base32
+         "1gc16hih157qy6vpa8f88psq0fnksiigi3msqazc75zsm3z4kzqj"))))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'make-files-writable
+           (lambda _
+             (for-each make-file-writable (find-files "." ".*")))))))))
+
 (define-public font-go
   (let ((commit "f03a046406d4d7fbfd4ed29f554da8f6114049fc")
         (revision "1"))
-- 
2.26.0
Toggle quote (1 lines)
>From 57da0021fc4853776589d06f4b799a673cf951ba Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Fri, 20 Mar 2020 00:03:55 -0700
Subject: [PATCH 2/2] gnu: Add font-iosevka-term.

* gnu/packages/fonts.scm (font-iosevka-term): New variable.
---
gnu/packages/fonts.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index be0b946f60..ee43133037 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1177,6 +1177,27 @@ programming.  Iosevka is completely generated from its source code.")
        (sha256
         (base32 "1rkmgi08kknc1fg54zpa6w92m3b3v7pc8cpwygz22kgd2h0mdrr8"))))))
 
+(define-public font-iosevka-term
+  (package
+    (inherit font-iosevka)
+    (name "font-iosevka-term")
+    (version (package-version font-iosevka))
+    (source
+     (origin
+       (method url-fetch/zipbomb)
+       (uri (string-append "https://github.com/be5invis/Iosevka"
+                           "/releases/download/v" version
+                           "/02-iosevka-term-" version ".zip"))
+       (sha256
+        (base32
+         "1mxlb3qf64nykjd0x4gjfvib3k5kyv9ssv9iyzxxgk2z80bydz00"))))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'make-files-writable
+           (lambda _
+             (for-each make-file-writable (find-files "." ".*")))))))))
+
 (define-public font-iosevka-term-slab
   (package
     (inherit font-iosevka)
-- 
2.26.0
M
M
Marius Bakke wrote on 2 Apr 2020 19:05
87mu7trf7m.fsf@devup.no
John Soo <jsoo1@asu.edu> writes:

Toggle quote (4 lines)
> Hi Guix,
>
> I recently found the term variants of Iosevka and really dig them.

Cool! I applied both patches and added a copyright line for you, and
also made sure the phases end on a #t.

Thanks!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6GGz0ACgkQoqBt8qM6
VPobUgf/QRePv+Mlx7NFRIC94DqOSs3Dp1AxA6lZJliGB1I6zqpNeLnZqFQxWq8e
uQgpEtbOUECBuw6ZO7RvfZMvmlZT6hBjQsvHTwFkMcdgbg4V3sx6LsesGGm7IBE7
6lh+Exu0nWV940Htvm179A3vQ1WOhko8HcKtImP2R6kpcCH6l832EMw3fOAY7ApL
waeB89icw5PDNUQJQ3S8Rfq/UYEIIOs/10Uj/ruzjhn4qSmuRHjcwxt00UOgitd2
M2eGt7VggVzlUDC4r5YTUUhMCCRCwR8ugqh53AKDCJuU87RTtgjFCeCWJJcKJKVV
J9MaCXTRdHBmV28hH6xj8Fzg7KDEOw==
=x4ze
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 40313@debbugs.gnu.org