babelstone-han: 12.1.7 -> 13.0.3

This commit is contained in:
Emily 2020-02-10 12:55:39 +00:00
parent eee784a1bb
commit 9d45292208

View file

@ -1,16 +1,17 @@
{ lib, fetchzip }:
let
version = "12.1.7";
version = "13.0.3";
in fetchzip {
name = "babelstone-han-${version}";
url = https://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip;
# upstream download links are unversioned, so hash changes
url = https://web.archive.org/web/20200210125314/https://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip;
postFetch = ''
mkdir -p $out/share/fonts/truetype
unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype
'';
sha256 = "07liv0lmk28ybxccf91gp2wmc17pk3fcshixpj0jx069b64zwf1v";
sha256 = "018isk3hbzsihzrxavgjbn485ngzvlm96npqx9y7zpkxsssslc4w";
meta = with lib; {
description = "Unicode CJK font with over 36000 Han characters";
@ -18,7 +19,6 @@ in fetchzip {
license = licenses.free;
platforms = platforms.all;
hydraPlatforms = [];
maintainers = [ maintainers.volth ];
maintainers = with maintainers; [ volth emily ];
};
}