2017-08-11 03:51:51 +00:00
|
|
|
{ stdenv, fetchzip }:
|
2015-12-21 16:49:06 +00:00
|
|
|
|
2017-08-11 03:51:51 +00:00
|
|
|
fetchzip rec {
|
2015-12-21 16:49:06 +00:00
|
|
|
name = "ipaexfont-003.01";
|
|
|
|
|
2017-08-11 03:51:51 +00:00
|
|
|
url = "http://dl.ipafont.ipa.go.jp/IPAexfont/IPAexfont00301.zip";
|
2015-12-21 16:49:06 +00:00
|
|
|
|
2017-08-11 03:51:51 +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
|
|
|
'';
|
|
|
|
|
2017-08-11 03:51:51 +00:00
|
|
|
sha256 = "02a6sj990cnig5lq0m54nmbmfkr3s57jpxl9fiyzrjmigvd1qmhj";
|
|
|
|
|
2015-12-21 16:49:06 +00:00
|
|
|
meta = with stdenv.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 = http://ipafont.ipa.go.jp/;
|
|
|
|
license = licenses.ipa;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; unix;
|
2015-12-21 16:49:06 +00:00
|
|
|
};
|
|
|
|
}
|