unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40313] [PATCH] Add Iosevka font "Term" variants
@ 2020-03-29 10:14 John Soo
  2020-04-02 17:05 ` bug#40313: " Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: John Soo @ 2020-03-29 10:14 UTC (permalink / raw)
  To: 40313

[-- Attachment #1: Type: text/plain, Size: 103 bytes --]

Hi Guix,

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

I hope you do to,

John


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: iosevka term slab --]
[-- Type: text/x-patch, Size: 1560 bytes --]

>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(+)

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: iosevka term --]
[-- Type: text/x-patch, Size: 1504 bytes --]

>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(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#40313: [PATCH] Add Iosevka font "Term" variants
  2020-03-29 10:14 [bug#40313] [PATCH] Add Iosevka font "Term" variants John Soo
@ 2020-04-02 17:05 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2020-04-02 17:05 UTC (permalink / raw)
  To: John Soo, 40313-done

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

John Soo <jsoo1@asu.edu> writes:

> 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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-02 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-29 10:14 [bug#40313] [PATCH] Add Iosevka font "Term" variants John Soo
2020-04-02 17:05 ` bug#40313: " Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).