mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
22 lines
408 B
Nix
22 lines
408 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "wqy-zenhei-0.4.23-1";
|
|
|
|
src = fetchurl {
|
|
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";
|
|
};
|
|
}
|
|
|