diff --git a/pkgs/data/fonts/noto-fonts/default.nix b/pkgs/data/fonts/noto-fonts/default.nix index d0ac56cd5d39..600074002f53 100644 --- a/pkgs/data/fonts/noto-fonts/default.nix +++ b/pkgs/data/fonts/noto-fonts/default.nix @@ -89,7 +89,7 @@ rec { }; }; - mkNotoCJK = { typeface, version, rev, sha256 }: + mkNotoCJK = { typeface, version, sha256 }: stdenvNoCC.mkDerivation { pname = "noto-fonts-cjk-${lib.toLower typeface}"; inherit version; @@ -97,7 +97,8 @@ rec { src = fetchFromGitHub { owner = "googlefonts"; repo = "noto-cjk"; - inherit rev sha256; + rev = "${typeface}${version}"; + inherit sha256; sparseCheckout = [ "${typeface}/Variable/OTC" ]; }; @@ -154,15 +155,13 @@ rec { noto-fonts-cjk-sans = mkNotoCJK { typeface = "Sans"; version = "2.004"; - rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d"; - sha256 = "sha256-PWpcTBnBRK87ZuRI/PsGp2UMQgCCyfkLHwvB1mOl5K0="; + sha256 = "sha256-IgalJkiOAVjNxKaPAQWfb5hKeqclliR4qVXCq63FGWY="; }; noto-fonts-cjk-serif = mkNotoCJK { typeface = "Serif"; - version = "2.000"; - rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d"; - sha256 = "sha256-1w66Ge7DZjbONGhxSz69uFhfsjMsDiDkrGl6NsoB7dY="; + version = "2.001"; + sha256 = "sha256-y1103SS0qkZMhEL5+7kQZ+OBs5tRaqkqOcs4796Fzhg="; }; noto-fonts-emoji =