unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: yasu <yasu@yasuaki.com>
To: Guix Development <guix-devel@gnu.org>
Subject: Add Microsoft Cascadia Code font?
Date: Sun, 10 Jan 2021 17:04:23 +0900	[thread overview]
Message-ID: <064a4b4d6fbd6b4f7521d4f258a9397b361e41d8.camel@yasuaki.com> (raw)

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


             reply	other threads:[~2021-01-10  8:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-10  8:04 yasu [this message]
2021-01-10  8:46 ` Add Microsoft Cascadia Code font? Vincent Legoll
2021-01-10  8:51   ` Vincent Legoll
  -- strict thread matches above, loose matches on Subject: below --
2021-01-10  9:16 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=064a4b4d6fbd6b4f7521d4f258a9397b361e41d8.camel@yasuaki.com \
    --to=yasu@yasuaki.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).