diff options
Diffstat (limited to 'nixpkgs/pkgs/data/fonts/ipaexfont/default.nix')
-rw-r--r-- | nixpkgs/pkgs/data/fonts/ipaexfont/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/data/fonts/ipaexfont/default.nix b/nixpkgs/pkgs/data/fonts/ipaexfont/default.nix new file mode 100644 index 000000000000..dfeab5124c84 --- /dev/null +++ b/nixpkgs/pkgs/data/fonts/ipaexfont/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchzip }: + +fetchzip rec { + name = "ipaexfont-003.01"; + + url = "http://dl.ipafont.ipa.go.jp/IPAexfont/IPAexfont00301.zip"; + + postFetch = '' + mkdir -p $out/share/fonts + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype + ''; + + sha256 = "02a6sj990cnig5lq0m54nmbmfkr3s57jpxl9fiyzrjmigvd1qmhj"; + + 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 ]; + platforms = with platforms; unix; + }; +} |