forked from mirrors/nixpkgs
576e9aacc0
- [x] make the font derivations fixed-output (https://github.com/NixOS/nixpkgs/issues/27754)
28 lines
817 B
Nix
28 lines
817 B
Nix
{ stdenv, fetchzip }:
|
|
|
|
fetchzip {
|
|
name = "ipafont-003.03";
|
|
|
|
url = "http://ipafont.ipa.go.jp/old/ipafont/IPAfont00303.php";
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/share/fonts
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype
|
|
'';
|
|
|
|
sha256 = "0lrjd0bfy36f9j85m12afg5nvr5id3sig2nmzs5qifskbd7mqv9h";
|
|
|
|
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 ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|