gnu: Add font-lxgw-wenkai.
authorHilton Chain <hako@ultrarare.space>
Sat, 23 Jul 2022 07:58:17 +0000 (15:58 +0800)
committer宋文武 <iyzsong@member.fsf.org>
Wed, 3 Aug 2022 02:17:26 +0000 (10:17 +0800)
* gnu/packages/fonts.scm (font-lxgw-wenkai): New variable.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
gnu/packages/fonts.scm

index a381f06..5ffebb3 100644 (file)
@@ -50,6 +50,7 @@
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27@gmail.com>
+;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2709,3 +2710,22 @@ This package contains the following outputs:
 icon is designed on a 24x24 grid with an emphasis on simplicity, consistency,
 and readability.  This package bundles those icons into a font.")
       (license license:expat))))
+
+(define-public font-lxgw-wenkai
+  (package
+    (name "font-lxgw-wenkai")
+    (version "1.235.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/lxgw/LxgwWenKai/releases/download/v"
+                    version "/lxgw-wenkai-v" version ".tar.gz"))
+              (sha256
+               (base32
+                "17li3xry4j4ccdnwz2pcnf0gv7c5mwq0h5fwvl7ar28brn2qgdbk"))))
+    (build-system font-build-system)
+    (home-page "https://lxgw.github.io/2021/01/28/Klee-Simpchin/")
+    (synopsis "LXGW Wenkai / 霞鹜文楷")
+    (description
+     "An open-source Chinese font derived from Fontworks' Klee One.")
+    (license license:silofl1.1)))