diff options
author | Gabriel Ebner <gebner@gebner.org> | 2015-12-21 17:49:06 +0100 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2015-12-21 17:49:06 +0100 |
commit | 7e23ffd2c8d1e089d1cee7cdaa31c00903019d38 (patch) | |
tree | b7b0dfb4752f7d645a12f4d298ca8abe2d8c1a42 /pkgs/data/fonts/ipaexfont | |
parent | 29c676e73d1efa2f6bfcafecebc1931962d6103c (diff) |
ipaexfont: init at 003.01
Diffstat (limited to 'pkgs/data/fonts/ipaexfont')
-rw-r--r-- | pkgs/data/fonts/ipaexfont/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/data/fonts/ipaexfont/default.nix b/pkgs/data/fonts/ipaexfont/default.nix new file mode 100644 index 0000000000000..ab163dcca9ffe --- /dev/null +++ b/pkgs/data/fonts/ipaexfont/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, unzip }: + +stdenv.mkDerivation rec { + name = "ipaexfont-003.01"; + + src = fetchurl { + url = "http://dl.ipafont.ipa.go.jp/IPAexfont/IPAexfont00301.zip"; + sha256 = "0nmfyh10rzkvp0qmrla0dahkmmxq47678y4v8fdm8fpdzmf0kpn7"; + }; + + buildInputs = [ unzip ]; + + installPhase = '' + mkdir -p $out/share/fonts/opentype/ + cp *.ttf $out/share/fonts/opentype/ + ''; + + 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 ]; + }; +} |