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