Merge pull request #39010 from volth/patch-125

babelstone-han: 11.0.0 -> 11.0.2
This commit is contained in:
Jörg Thalheim 2018-04-16 22:18:13 +01:00 committed by GitHub
commit 691cc35860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,19 @@
{stdenv, fetchzip}: {stdenv, fetchzip}:
let let
version = "11.0.0"; version = "11.0.2";
in fetchzip { in fetchzip {
name = "babelstone-han-${version}"; name = "babelstone-han-${version}";
url = http://www.babelstone.co.uk/Fonts/3902/BabelStoneHan.zip; url = http://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip;
postFetch = '' postFetch = ''
mkdir -p $out/share/fonts/truetype mkdir -p $out/share/fonts/truetype
unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype
''; '';
sha256 = "1w3v69lacsy0nha20rkbs6f0dskf5xm6p250qx4a1m69d4a1gx7v"; sha256 = "003cz520riskjp729y3piqhmnzfw3jyrmb94im7jyvlc7hp14cdh";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Unicode CJK font with over 32600 Han characters"; description = "Unicode CJK font with over 36000 Han characters";
homepage = http://www.babelstone.co.uk/Fonts/Han.html; homepage = http://www.babelstone.co.uk/Fonts/Han.html;
license = licenses.free; license = licenses.free;