1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/data/fonts/babelstone-han/default.nix
2017-03-21 19:11:08 +01:00

31 lines
725 B
Nix

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