mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: Add font-sarasa-gothic.
* gnu/packages/fonts.scm (font-sarasa-gothic): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
8d6ead32a0
commit
839dba3a1f
1 changed files with 29 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
|
||||
;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
|
||||
;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
|
||||
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -1247,6 +1248,34 @@ (define-public font-iosevka-term-slab
|
|||
(for-each make-file-writable (find-files "." ".*"))
|
||||
#t)))))))
|
||||
|
||||
(define-public font-sarasa-gothic
|
||||
(package
|
||||
(name "font-sarasa-gothic")
|
||||
(version "0.12.6")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/be5invis/Sarasa-Gothic"
|
||||
"/releases/download/v" version
|
||||
"/sarasa-gothic-ttc-" version ".7z"))
|
||||
(sha256
|
||||
(base32 "1g6k9d5lajchbhsh3g12fk5cgilyy6yw09fals9vc1f9wsqvac86"))))
|
||||
(build-system font-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(replace 'unpack
|
||||
(lambda* (#:key source #:allow-other-keys)
|
||||
(mkdir "source")
|
||||
(chdir "source")
|
||||
(invoke "7z" "x" source))))))
|
||||
(native-inputs `(("p7zip" ,p7zip)))
|
||||
(home-page "https://github.com/be5invis/Sarasa-Gothic")
|
||||
(license license:silofl1.1)
|
||||
(synopsis "Sarasa Gothic / 更纱黑体 / 更紗黑體 / 更紗ゴシック / 사라사 고딕")
|
||||
(description
|
||||
"Sarasa Gothic is a programming font based on Iosevka and Source Han Sans,
|
||||
most CJK characters are same height, and double width as ASCII characters.")))
|
||||
|
||||
(define-public font-go
|
||||
(let ((commit "f03a046406d4d7fbfd4ed29f554da8f6114049fc")
|
||||
(revision "1"))
|
||||
|
|
Loading…
Reference in a new issue