unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Add Microsoft Cascadia Code font?
@ 2021-01-10  9:16 Leo Prikler
  2021-01-10  9:39 ` Vincent Legoll
  2021-01-10 10:11 ` Yasuaki Kudo
  0 siblings, 2 replies; 14+ messages in thread
From: Leo Prikler @ 2021-01-10  9:16 UTC (permalink / raw)
  To: vincent.legoll; +Cc: guix-devel

Hello Vincent,

there is no .tar of the fonts however, that's a source tarball
generated by github.  To be fair, one should probably build this font
(and other fonts) from source instead.  In particular, we might want to
package nerd-fonts[1] first, since Cascadia appears to be an iteration
of it.

Regards,
Leo

[1] https://github.com/ryanoasis/nerd-fonts



^ permalink raw reply	[flat|nested] 14+ messages in thread
* Add Microsoft Cascadia Code font?
@ 2021-01-10  8:04 yasu
  2021-01-10  8:46 ` Vincent Legoll
  0 siblings, 1 reply; 14+ messages in thread
From: yasu @ 2021-01-10  8:04 UTC (permalink / raw)
  To: Guix Development

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

Hello Guix Development,

Attached is my Guix package submission of Microsoft Cascadia Code
fonts.

This is my very first attempt to make a Guix package contribution and I
did this in less than 30 minutes, copying the package descriptions of
IBM Plex fonts and modifying a few things.   I dont' know what
protocols I may have missed 😅 

Would you please let me know how to proceed from here?

Regards,
Yasu

[-- Attachment #2: 0001-i.patch --]
[-- Type: text/x-patch, Size: 1310 bytes --]

From a86683caa6ee17e881c91cc103d30f844d6a6b34 Mon Sep 17 00:00:00 2001
From: Yasuaki Kudo <yasu@yasuaki.com>
Date: Sun, 10 Jan 2021 16:11:26 +0900
Subject: [PATCH] i

---
 gnu/packages/fonts.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 11a8e6261b..d080eb5567 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -78,6 +78,23 @@
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages xorg))
 
+(define-public font-cascadia-code
+  (package
+    (name "font-cascadia-code")
+    (version "2009.22")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/microsoft/cascadia-code/releases/download/"
+                                  "v" version "/CascadiaCode-" version ".zip"))
+              (sha256
+                (base32
+                  "0ilqvy7hzw35w5mig6zp2lny30fm8kmpzh69fg2npr4snyacq6w0"))))
+    (build-system font-build-system)
+    (home-page "https://github.com/microsoft/cascadia-code/")
+    (synopsis "Microsoft Cascadia Code")
+    (description "This package provides Microsoft Cascadia Code fonts.")
+    (license license:silofl1.1)))
+
 (define-public font-ibm-plex
   (package
     (name "font-ibm-plex")
-- 
2.30.0


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

end of thread, other threads:[~2021-01-10 23:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-10  9:16 Add Microsoft Cascadia Code font? Leo Prikler
2021-01-10  9:39 ` Vincent Legoll
2021-01-10 10:11 ` Yasuaki Kudo
2021-01-10 10:38   ` Leo Prikler
2021-01-10 10:56     ` Yasuaki Kudo
2021-01-10 12:28       ` yasu
2021-01-10 12:28     ` Julien Lepiller
2021-01-10 12:55       ` yasu
2021-01-10 13:09       ` Leo Prikler
2021-01-10 14:28         ` Julien Lepiller
2021-01-10 23:37         ` Mark H Weaver
  -- strict thread matches above, loose matches on Subject: below --
2021-01-10  8:04 yasu
2021-01-10  8:46 ` Vincent Legoll
2021-01-10  8:51   ` Vincent Legoll

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).