8 stdenvNoCC.mkDerivation rec {
9 pname = "noto-fonts-cjk-serif";
12 src = fetchFromGitHub {
15 rev = "Serif${version}";
16 hash = "sha256-E+Ic7XhomI6cUa+q77gQvMlaLvy+vgTq4NJ58/nPZtk=";
17 sparseCheckout = [ "Serif/Variable/OTC" ];
21 install -m444 -Dt $out/share/fonts/opentype/noto-cjk Serif/Variable/OTC/*.otf.ttc
24 passthru.tests.noto-fonts = nixosTests.noto-fonts;
26 passthru.updateScript = gitUpdater {
31 description = "Beautiful and free fonts for CJK languages";
32 homepage = "https://www.google.com/get/noto/help/cjk/";
34 Noto Serif CJK is a serif typeface designed as
35 an intermediate style between the modern and traditional. It is
36 intended to be a multi-purpose digital font for user interface
37 designs, digital content, reading on laptops, mobile devices, and
38 electronic books. Noto Serif CJK comprehensively covers
39 Simplified Chinese, Traditional Chinese, Japanese, and Korean in a
40 unified font family. It supports regional variants of ideographic
41 characters for each of the four languages. In addition, it supports
42 Japanese kana, vertical forms, and variant characters (itaiji); it
43 supports Korean hangeul — both contemporary and archaic.
45 license = licenses.ofl;
46 platforms = platforms.all;
47 maintainers = with maintainers; [ mathnerd314 emily ];