Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
1.1 KiB
Nix
32 lines
1.1 KiB
Nix
{
|
|
stdenvNoCC,
|
|
lib,
|
|
fetchzip,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "edusong";
|
|
version = "4.0";
|
|
|
|
src = fetchzip {
|
|
name = "edusong-${finalAttrs.version}";
|
|
url = "https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/eduSong_Unicode.zip";
|
|
hash = "sha256-4NBnwMrYufeZbgSiD2fAhe4tuy0aAA5u9tWwjQQjEQk=";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts/
|
|
mv eduSong_Unicode*.ttf $out/share/fonts/eduSong_Unicode\(2024年12月\).ttf
|
|
'';
|
|
|
|
meta = {
|
|
description = "MOE Song font, a Song-style Chinese character typeface";
|
|
longDescription = ''
|
|
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;
|
|
maintainers = with lib.maintainers; [ ShamrockLee ];
|
|
};
|
|
})
|