diff mbox series

[bug#56720,1/1] gnu: Add font-chiron-hei-hk.

Message ID y76edxx6cw3.wl-hako@ultrarare.space
State Accepted
Headers show
Series gnu: Add Chiron Fonts. | expand

Commit Message

Hilton Chain Aug. 3, 2022, 6:48 a.m. UTC
From 798983ae84d941a3830b5405e8cc13b310d85245 Mon Sep 17 00:00:00 2001
From: Hilton Chain <hako@ultrarare.space>
Date: Wed, 3 Aug 2022 14:35:30 +0800
Subject: [PATCH 1/1] gnu: Add font-chiron-hei-hk.

* gnu/packages/fonts (font-chiron-hei-hk): New variable.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
---
 gnu/packages/fonts.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

-- 
2.37.1

Comments

Hilton Chain Aug. 3, 2022, 6:51 a.m. UTC | #1
Sorry, there's something wrong in formatting patches, I'll re-format them and then send later.
Hilton Chain Aug. 3, 2022, 7:02 a.m. UTC | #2
Continues at #56904.
diff mbox series

Patch

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 0d70e4460b..53548ce827 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -2768,3 +2768,22 @@  (define-public font-chiron-sung-hk
      "Chiron Sung HK (昭源宋體) is a Traditional Chinese serif
  typeface based on Adobe’s Source Han Serif (a.k.a. Google’s Noto Sans CJK).")
     (license license:silofl1.1)))
+
+(define-public font-chiron-hei-hk
+  (package
+    (name "font-chiron-hei-hk")
+    (version "2.502")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/chiron-fonts/chiron-hei-hk")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0wk1yladmwflkwrmj374avpml8shyrgd622f7mbvw5ln7fi70d2l"))))
+    (build-system font-build-system)
+    (home-page "https://chiron-fonts.github.io/")
+    (synopsis "昭源黑體")
+    (description "The complementary sans-serif typeface for Chiron Sung HK.")
+    (license license:silofl1.1)))