···11+{ stdenv, fetchurl, unzip }:
22+33+stdenv.mkDerivation rec {
44+ name = "ipaexfont-003.01";
55+66+ src = fetchurl {
77+ url = "http://dl.ipafont.ipa.go.jp/IPAexfont/IPAexfont00301.zip";
88+ sha256 = "0nmfyh10rzkvp0qmrla0dahkmmxq47678y4v8fdm8fpdzmf0kpn7";
99+ };
1010+1111+ buildInputs = [ unzip ];
1212+1313+ installPhase = ''
1414+ mkdir -p $out/share/fonts/opentype/
1515+ cp *.ttf $out/share/fonts/opentype/
1616+ '';
1717+1818+ meta = with stdenv.lib; {
1919+ description = "Japanese font package with Mincho and Gothic fonts";
2020+ longDescription = ''
2121+ IPAex font is a Japanese font developed by the Information-technology
2222+ Promotion Agency of Japan. It provides both Mincho and Gothic fonts,
2323+ suitable for both display and printing.
2424+2525+ This is the successor to the IPA fonts.
2626+ '';
2727+ homepage = http://ipafont.ipa.go.jp/;
2828+ license = licenses.ipa;
2929+ maintainers = with maintainers; [ gebner ];
3030+ };
3131+}