Add wqy-microhei font
This commit is contained in:
20
pkgs/data/fonts/wqy-microhei/default.nix
Normal file
20
pkgs/data/fonts/wqy-microhei/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wqy-microhei-0.2.0-beta";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/wqy/${name}.tar.gz";
|
||||
sha256 = "0gi1yxqph8xx869ichpzzxvx6y50wda5hi77lrpacdma4f0aq0i8";
|
||||
};
|
||||
|
||||
installPhase =
|
||||
''
|
||||
install -Dm644 wqy-microhei.ttc $out/share/fonts
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A (mainly) Chinese Unicode font";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user