2010-07-29 19:55:16 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-02-08 21:20:21 +00:00
|
|
|
name = "wqy-zenhei-${version}";
|
|
|
|
version = "0.9.45";
|
2010-07-29 19:55:16 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-02-08 21:20:21 +00:00
|
|
|
url = "mirror://sourceforge/wqy/${name}.tar.gz";
|
|
|
|
sha256 = "1mkmxq8g2hjcglb3zajfqj20r4r88l78ymsp2xyl5yav8w3f7dz4";
|
2010-07-29 19:55:16 +01:00
|
|
|
};
|
|
|
|
|
2014-02-08 21:20:21 +00:00
|
|
|
dontBuild = true;
|
|
|
|
|
2010-07-29 19:55:16 +01:00
|
|
|
installPhase =
|
|
|
|
''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/share/fonts
|
2014-02-08 21:20:21 +00:00
|
|
|
install -m644 *.ttc $out/share/fonts/
|
2010-07-29 19:55:16 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A (mainly) Chinese Unicode font";
|
2014-09-13 12:51:39 +01:00
|
|
|
homepage = http://wenq.org;
|
2014-02-12 19:38:21 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2; # with font embedding exceptions
|
2014-09-13 12:51:39 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.pkmx ];
|
2014-02-12 19:38:21 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2010-07-29 19:55:16 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|