babelstone-han: 10.0.2 -> 11.0.0

new font version; old link answers with 404
This commit is contained in:
volth 2018-03-24 17:23:55 +00:00 committed by GitHub
parent ea145b68a0
commit 64c756d50d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,16 @@
{stdenv, fetchzip}:
let
version = "10.0.2";
version = "11.0.0";
in fetchzip {
name = "babelstone-han-${version}";
url = http://www.babelstone.co.uk/Fonts/7932/BabelStoneHan.zip;
url = http://www.babelstone.co.uk/Fonts/3902/BabelStoneHan.zip;
postFetch = ''
mkdir -p $out/share/fonts/truetype
unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype
'';
sha256 = "17r5cf028v66yzjf9qbncn4rchv2xxkl2adxr35ppg1l7zssz9v6";
sha256 = "1w3v69lacsy0nha20rkbs6f0dskf5xm6p250qx4a1m69d4a1gx7v";
meta = with stdenv.lib; {
description = "Unicode CJK font with over 32600 Han characters";