2017-08-11 05:50:44 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2014-06-15 18:02:41 +02:00
|
|
|
|
2017-08-11 05:50:44 +02:00
|
|
|
fetchzip {
|
2014-06-15 18:02:41 +02:00
|
|
|
name = "ipafont-003.03";
|
|
|
|
|
2017-08-11 05:50:44 +02:00
|
|
|
url = "http://ipafont.ipa.go.jp/old/ipafont/IPAfont00303.php";
|
2014-06-15 18:02:41 +02:00
|
|
|
|
2017-08-11 05:50:44 +02:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype
|
2014-06-15 18:02:41 +02:00
|
|
|
'';
|
|
|
|
|
2017-08-11 05:50:44 +02:00
|
|
|
sha256 = "0lrjd0bfy36f9j85m12afg5nvr5id3sig2nmzs5qifskbd7mqv9h";
|
2014-06-15 18:02:41 +02:00
|
|
|
|
|
|
|
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 = http://ipafont.ipa.go.jp/ipafont/;
|
|
|
|
license = stdenv.lib.licenses.ipa;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.auntie ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-06-15 18:02:41 +02:00
|
|
|
};
|
|
|
|
}
|