summary refs log tree commit diff
path: root/pkgs/data/fonts/hanazono
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-05-22 21:00:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-05-22 21:00:00 -0500
commita4a5e9c65d705da870e5cbf173c08a4b8bed701c (patch)
treef44cccb03f2d55f0a34a8f7806a8445435c68116 /pkgs/data/fonts/hanazono
parentaac5bd55fdae6fc60ae823110787d868671afdee (diff)
downloadnixpkgs-a4a5e9c65d705da870e5cbf173c08a4b8bed701c.tar
nixpkgs-a4a5e9c65d705da870e5cbf173c08a4b8bed701c.tar.gz
nixpkgs-a4a5e9c65d705da870e5cbf173c08a4b8bed701c.tar.bz2
nixpkgs-a4a5e9c65d705da870e5cbf173c08a4b8bed701c.tar.lz
nixpkgs-a4a5e9c65d705da870e5cbf173c08a4b8bed701c.tar.xz
nixpkgs-a4a5e9c65d705da870e5cbf173c08a4b8bed701c.tar.zst
nixpkgs-a4a5e9c65d705da870e5cbf173c08a4b8bed701c.zip
hanazono: 20141012 -> 20170904
Diffstat (limited to 'pkgs/data/fonts/hanazono')
-rw-r--r--pkgs/data/fonts/hanazono/default.nix21
1 files changed, 14 insertions, 7 deletions
diff --git a/pkgs/data/fonts/hanazono/default.nix b/pkgs/data/fonts/hanazono/default.nix
index 4def0b44b14..cc219b74179 100644
--- a/pkgs/data/fonts/hanazono/default.nix
+++ b/pkgs/data/fonts/hanazono/default.nix
@@ -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.