depot/third_party/nixpkgs/pkgs/data/fonts/ipafont/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

26 lines
762 B
Nix

{ lib, fetchzip }:
fetchzip {
name = "ipafont-003.03";
url = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip";
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype
'';
sha256 = "0lrjd0bfy36f9j85m12afg5nvr5id3sig2nmzs5qifskbd7mqv9h";
meta = {
description = "Japanese font package with Mincho and Gothic fonts";
longDescription = ''
IPAFont 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.
'';
homepage = "https://moji.or.jp/ipafont/";
license = lib.licenses.ipa;
maintainers = [ lib.maintainers.auntie ];
};
}