nixpkgs/pkgs/data/fonts/ipaexfont/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
826 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2015-12-21 16:49:06 +00:00
fetchzip {
name = "ipaexfont-004.01";
2015-12-21 16:49:06 +00:00
url = "https://moji.or.jp/wp-content/ipafont/IPAexfont/IPAexfont00401.zip";
2015-12-21 16:49:06 +00:00
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype
2015-12-21 16:49:06 +00:00
'';
sha256 = "0wp369kri33kb1mmiq4lpl9i4xnacw9fj63ycmkmlkq64s8qnjnx";
meta = with lib; {
2015-12-21 16:49:06 +00:00
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/";
2015-12-21 16:49:06 +00:00
license = licenses.ipa;
maintainers = with maintainers; [ gebner ];
};
}