Merge pull request #3102 from auntieNeo/ipafont
Added package for Japanese IPAFonts.
This commit is contained in:
commit
d001de0100
@ -132,6 +132,12 @@
|
|||||||
url = http://www.opensource.org/licenses/ISC;
|
url = http://www.opensource.org/licenses/ISC;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ipa = {
|
||||||
|
shortName = "IPA 1.0";
|
||||||
|
fullName = "IPA Font License v1.0";
|
||||||
|
url = http://ipafont.ipa.go.jp/ipafont/;
|
||||||
|
};
|
||||||
|
|
||||||
ipl10 = {
|
ipl10 = {
|
||||||
shortName = "IPL 1.0";
|
shortName = "IPL 1.0";
|
||||||
fullName = "IBM Public License Version 1.0";
|
fullName = "IBM Public License Version 1.0";
|
||||||
|
33
pkgs/data/fonts/ipafont/default.nix
Normal file
33
pkgs/data/fonts/ipafont/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ipafont-003.03";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://ipafont.ipa.go.jp/ipafont/IPAfont00303.php";
|
||||||
|
sha256 = "f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
unzip $src
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/fonts/opentype
|
||||||
|
cp ./IPAfont00303/*.ttf $out/share/fonts/opentype/
|
||||||
|
'';
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -7901,6 +7901,8 @@ let
|
|||||||
|
|
||||||
inconsolata = callPackage ../data/fonts/inconsolata {};
|
inconsolata = callPackage ../data/fonts/inconsolata {};
|
||||||
|
|
||||||
|
ipafont = callPackage ../data/fonts/ipafont {};
|
||||||
|
|
||||||
junicode = callPackage ../data/fonts/junicode { };
|
junicode = callPackage ../data/fonts/junicode { };
|
||||||
|
|
||||||
kochi-substitute = callPackage ../data/fonts/kochi-substitute {};
|
kochi-substitute = callPackage ../data/fonts/kochi-substitute {};
|
||||||
|
Loading…
Reference in New Issue
Block a user