babelstone-han: init at 9.0.2

This commit is contained in:
Volth 2017-02-05 05:46:34 +00:00 committed by vbgl
parent 86721a5f78
commit a7732d6f54
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "babelstone-han-${version}";
version = "9.0.2";
src = fetchurl {
url = "http://www.babelstone.co.uk/Fonts/8672/BabelStoneHan.zip";
sha256 = "09zlrp3mqdsbxpq4sssd8gj5isnxfbr56pcdp7mnr27nv4pvp6ha";
};
buildInputs = [ unzip ];
sourceRoot = ".";
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp -v *.ttf $out/share/fonts/truetype
'';
meta = with stdenv.lib; {
description = "Unicode CJK font with over 32600 Han characters";
homepage = http://www.babelstone.co.uk/Fonts/Han.html;
license = licenses.free;
platforms = platforms.all;
hydraPlatforms = [];
maintainers = [ maintainers.volth ];
};
}

View File

@ -12308,6 +12308,8 @@ with pkgs;
aurulent-sans = callPackage ../data/fonts/aurulent-sans { }; aurulent-sans = callPackage ../data/fonts/aurulent-sans { };
babelstone-han = callPackage ../data/fonts/babelstone-han { };
baekmuk-ttf = callPackage ../data/fonts/baekmuk-ttf { }; baekmuk-ttf = callPackage ../data/fonts/baekmuk-ttf { };
bakoma_ttf = callPackage ../data/fonts/bakoma-ttf { }; bakoma_ttf = callPackage ../data/fonts/bakoma-ttf { };