nixpkgs/pkgs/data/fonts/wqy-zenhei/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

22 lines
422 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "wqy-zenhei-0.4.23-1";
src = fetchurl {
url = http://prdownloads.sourceforge.net/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";
};
}