~ruther/guix-local

f4ca04a820474562e51d8c27f81fe68052753154 — Rivulet Cedar 7 months ago 9473ffe
gnu: Add font-google-noto-serif-cjk-static.

* gnu/packages/fonts.scm (font-google-noto-serif-cjk-static): New variable.

Change-Id: Ic0dd54716c9b252e1e87afaab07039021f3f6511
Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
1 files changed, 31 insertions(+), 0 deletions(-)

M gnu/packages/fonts.scm
M gnu/packages/fonts.scm => gnu/packages/fonts.scm +31 -0
@@ 1559,6 1559,37 @@ display all Unicode symbols.  This package provides the Serif variant of CJK
fonts.")
    (license license:silofl1.1)))

(define-public font-google-noto-serif-cjk-static
  (package
    (name "font-google-noto-serif-cjk-static")
    (version "2.003")
    (source
     (origin
       (method url-fetch)
       (uri (string-append
             "https://github.com/googlefonts/noto-cjk/releases/download/Serif"
             version "/04_NotoSerifCJKOTC.zip"))
       (file-name (string-append name "-" version ".zip"))
       (sha256
        (base32 "0cca367a7vrpj17bczbwhnlbxsm1j25j6c34xj183s8w97yxhvn7"))))
    (build-system font-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (replace 'install
                 (lambda _
                   (chdir "..")         ;For license.
                   (let ((install (assoc-ref %standard-phases 'install)))
                     (with-directory-excursion "OTC"
                       (install #:outputs `(("out" . ,#$output))))))))))
    (home-page "https://www.google.com/get/noto/")
    (synopsis "Fonts to cover all languages")
    (description "Google Noto Fonts is a family of fonts designed to support
all languages with a consistent look and aesthetic.  Its goal is to properly
display all Unicode symbols.  This package provides the Serif variant of CJK
fonts.")
    (license license:silofl1.1)))

(define-public font-google-roboto
  (package
    (name "font-google-roboto")