source-han-serif: 2.000 -> 2.001

This commit is contained in:
usertam 2023-08-08 02:20:11 +08:00
parent f7985a0c98
commit 4b2bd1afde
No known key found for this signature in database
GPG key ID: C35F5FF3A6C5AC43

View file

@ -11,6 +11,7 @@ let
, rev
, hash
, zip ? ""
, prefix ? ""
}:
let Family =
lib.toUpper (lib.substring 0 1 family) +
@ -21,7 +22,7 @@ let
version = lib.removeSuffix "R" rev;
src = fetchurl {
url = "https://github.com/adobe-fonts/source-han-${family}/releases/download/${rev}/SourceHan${Family}.ttc${zip}";
url = "https://github.com/adobe-fonts/source-han-${family}/releases/download/${rev}/${prefix}SourceHan${Family}.ttc${zip}";
inherit hash;
};
@ -61,9 +62,10 @@ in
serif = makePackage {
family = "serif";
description = "serif";
rev = "2.000R";
hash = "sha256-RDgywab7gwT+YBO7F1KJvKOv0E/3+7Zi/pQl+UDsGcM=";
rev = "2.001R";
hash = "sha256-ULdrtPLtzsgfZEHWkr4ebC/FSROHBWJJVD+PzdIJ6Og=";
zip = ".zip";
prefix = "01_";
};
mono = makePackage {