2014-02-08 14:37:40 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "wqy-microhei-0.2.0-beta";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/wqy/${name}.tar.gz";
|
|
|
|
sha256 = "0gi1yxqph8xx869ichpzzxvx6y50wda5hi77lrpacdma4f0aq0i8";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase =
|
|
|
|
''
|
2014-02-08 22:10:40 +00:00
|
|
|
install -Dm644 wqy-microhei.ttc $out/share/fonts/wqy-microhei.ttc
|
2014-02-08 14:37:40 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A (mainly) Chinese Unicode font";
|
2014-02-12 03:24:06 +00:00
|
|
|
homepage = "http://wenq.org";
|
|
|
|
license = "gplv2"; # with font embedding exceptions
|
|
|
|
maintainers = stdenv.lib.maintainers.pkmx;
|
2014-02-08 14:37:40 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|