81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
28 lines
826 B
Nix
28 lines
826 B
Nix
{ lib, fetchzip }:
|
|
|
|
fetchzip {
|
|
name = "ipaexfont-004.01";
|
|
|
|
url = "https://moji.or.jp/wp-content/ipafont/IPAexfont/IPAexfont00401.zip";
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/share/fonts
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype
|
|
'';
|
|
|
|
sha256 = "0wp369kri33kb1mmiq4lpl9i4xnacw9fj63ycmkmlkq64s8qnjnx";
|
|
|
|
meta = with lib; {
|
|
description = "Japanese font package with Mincho and Gothic fonts";
|
|
longDescription = ''
|
|
IPAex font is a Japanese font developed by the Information-technology
|
|
Promotion Agency of Japan. It provides both Mincho and Gothic fonts,
|
|
suitable for both display and printing.
|
|
|
|
This is the successor to the IPA fonts.
|
|
'';
|
|
homepage = "https://moji.or.jp/ipafont/";
|
|
license = licenses.ipa;
|
|
maintainers = with maintainers; [ gebner ];
|
|
};
|
|
}
|