mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
c9eb44eab3
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
29 lines
854 B
Nix
29 lines
854 B
Nix
{ lib, fetchzip }:
|
|
|
|
fetchzip {
|
|
name = "ipaexfont-003.01";
|
|
|
|
url = "http://web.archive.org/web/20160616003021/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 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 ];
|
|
};
|
|
}
|