edusong: 1.0 -> 4.0 (#400759)

This commit is contained in:
Yueh-Shun Li 2025-05-28 21:48:04 +08:00 committed by GitHub
commit 3d576164da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,25 +6,23 @@
stdenvNoCC.mkDerivation rec {
pname = "edusong";
version = "1.0"; # The upstream doesn't provide the version
version = "4.0";
src = fetchzip {
name = "${pname}-${version}";
url = "https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/eduSong_Unicode.zip";
hash = "sha256-pIG1EbFGf2O2AzM4+HCCvGPodBBwUt7ozpb+BpPk5Kw=";
hash = "sha256-4NBnwMrYufeZbgSiD2fAhe4tuy0aAA5u9tWwjQQjEQk=";
};
installPhase = ''
mkdir -p $out/share/fonts/
mv *.ttf $out/share/fonts/
mv eduSong_Unicode*.ttf $out/share/fonts/eduSong_Unicode\(202412\).ttf
'';
meta = {
description = "The MOE Standard Song Font, a Chinese font by the Ministry of Education, ROC (Taiwan)";
description = "The MOE Song font, a Song-style Chinese character typeface";
longDescription = ''
The MOE Standard Song Font is a Chinese Song font provided by
the Midistry of Education, Republic of China (Taiwan).
Song or Ming is a category of CKJ typefaces in print.
A Song-style Chinese character typeface published by the Ministry of Education of the Republic of China (Taiwan). The Song style is also referred to as , , sòngtǐ, , , or míngtǐ, in Chinese; , , or myeongjo in Korean; , , or minchōtai in Japanese.
'';
homepage = "https://language.moe.gov.tw/result.aspx?classify_sn=23&subclassify_sn=436&content_sn=48";
license = lib.licenses.cc-by-nd-30;