Merge pull request #61930 from marsam/update-hanazono

hanazono: 20141012 -> 20170904
This commit is contained in:
Renaud 2019-05-24 15:15:19 +02:00 committed by GitHub
commit 7fdfbcba20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,30 @@
{ lib, fetchzip }:
let
version = "20141012";
version = "20170904";
in fetchzip {
name = "hanazono-${version}";
url = "mirror://sourceforgejp/hanazono-font/62072/hanazono-${version}.zip";
url = "mirror://sourceforgejp/hanazono-font/68253/hanazono-${version}.zip";
postFetch = ''
mkdir -p $out/share/fonts/hanazono $out/share/doc/hanazono
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/hanazono
mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.txt -d $out/share/doc/hanazono
'';
sha256 = "0z0fgrjzp0hqqnhfisivciqpxd2br2w2q9mvxkglj44np2q889w2";
sha256 = "0qiyd1vk3w8kqmwc6xi5d390wdr4ln8xhfbx3n8r1hhad9iz14p6";
meta = with lib; {
description = "Free kanji font containing 96,327 characters";
homepage = http://fonts.jp/hanazono/;
description = "Japanese Mincho-typeface TrueType font";
homepage = "https://fonts.jp/hanazono/";
longDescription = ''
Hanazono Mincho typeface is a Japanese TrueType font that developed with a
support of Grant-in-Aid for Publication of Scientific Research Results
from Japan Society for the Promotion of Science and the International
Research Institute for Zen Buddhism (IRIZ), Hanazono University. also with
volunteers who work together on glyphwiki.org.
'';
# Dual-licensed under OFL and the following:
# This font is a free software.