data/fonts: cleanup

* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
This commit is contained in:
volth
2019-05-13 06:03:31 +00:00
parent 1df1834dd1
commit c9eb44eab3
177 changed files with 789 additions and 929 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "11.0.3";
version = "12.1.4";
in fetchzip {
name = "babelstone-han-${version}";
@@ -10,9 +10,9 @@ in fetchzip {
mkdir -p $out/share/fonts/truetype
unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype
'';
sha256 = "0c8s21kllyilwivrb8gywq818y67w3zpann34hz36vy0wyiswn1c";
sha256 = "1fypwk2i87jfrckvxg9wz4x84z7c6ifgzrjb8fylhac50lzi6kni";
meta = with stdenv.lib; {
meta = with lib; {
description = "Unicode CJK font with over 36000 Han characters";
homepage = http://www.babelstone.co.uk/Fonts/Han.html;