From 9dfc47b0a16c6b3a510399aa128182decacc4751 Mon Sep 17 00:00:00 2001 From: Vanilla Date: Mon, 25 Oct 2021 21:11:39 +0800 Subject: [PATCH] source-han-serif: 1.001R -> 2.000R --- pkgs/data/fonts/source-han/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/data/fonts/source-han/default.nix b/pkgs/data/fonts/source-han/default.nix index e24bc8ae0dd..1672af411c0 100644 --- a/pkgs/data/fonts/source-han/default.nix +++ b/pkgs/data/fonts/source-han/default.nix @@ -48,8 +48,13 @@ in serif = makePackage { family = "serif"; description = "serif"; - rev = "1.001R"; - sha256 = "0nnsb2w140ih0cnp1fh7s4csvzp9y0cavz9df2ryhv215mh9z4m0"; + rev = "2.000R"; + sha256 = "0x3n6s4khdd6l0crwd7g9sjaqp8lkvksglhc7kj3cv80hldab9wp"; + postFetch = '' + mkdir -p $out/share/fonts/opentype/source-han-serif + unzip $downloadedFile -d $out/share/fonts/opentype/source-han-serif + ''; + zip = ".zip"; }; mono = makePackage {