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 }: { lib, fetchzip }:
let let
version = "20141012"; version = "20170904";
in fetchzip { in fetchzip {
name = "hanazono-${version}"; name = "hanazono-${version}";
url = "mirror://sourceforgejp/hanazono-font/62072/hanazono-${version}.zip"; url = "mirror://sourceforgejp/hanazono-font/68253/hanazono-${version}.zip";
postFetch = '' postFetch = ''
mkdir -p $out/share/fonts/hanazono $out/share/doc/hanazono mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/hanazono unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.txt -d $out/share/doc/hanazono unzip -j $downloadedFile \*.txt -d $out/share/doc/hanazono
''; '';
sha256 = "0z0fgrjzp0hqqnhfisivciqpxd2br2w2q9mvxkglj44np2q889w2"; sha256 = "0qiyd1vk3w8kqmwc6xi5d390wdr4ln8xhfbx3n8r1hhad9iz14p6";
meta = with lib; { meta = with lib; {
description = "Free kanji font containing 96,327 characters"; description = "Japanese Mincho-typeface TrueType font";
homepage = http://fonts.jp/hanazono/; 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: # Dual-licensed under OFL and the following:
# This font is a free software. # This font is a free software.