1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

Merge pull request #79665 from emilazy/babelstone-han-13.0.3

babelstone-han: 12.1.7 -> 13.0.3
This commit is contained in:
Yegor Timoshenko 2020-02-24 20:28:53 +03:00 committed by GitHub
commit fd27f46cb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];
};
}