nixpkgs/pkgs/data/fonts/wqy-zenhei/default.nix

22 lines
408 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "wqy-zenhei-0.4.23-1";
src = fetchurl {
2013-07-14 03:17:07 +02:00
url = mirror://sourceforge/wqy/wqy-zenhei-0.4.23-1.tar.gz;
sha256 = "138nn81ai240av0xvcq4ab3rl73n0qlj3gwr3a36i63ry8vdj5qm";
};
installPhase =
''
mkdir -p $out/share/fonts
cp *.ttf $out/share/fonts
'';
meta = {
description = "A (mainly) Chinese Unicode font";
};
}