blob: e317b863db3a8bb817c856e28c16df65dbc72407 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "wqy-zenhei-${version}";
version = "0.9.45";
src = fetchurl {
url = "mirror://sourceforge/wqy/${name}.tar.gz";
sha256 = "1mkmxq8g2hjcglb3zajfqj20r4r88l78ymsp2xyl5yav8w3f7dz4";
};
dontBuild = true;
installPhase =
''
mkdir -p $out/share/fonts
install -m644 *.ttc $out/share/fonts/
'';
meta = {
description = "A (mainly) Chinese Unicode font";
homepage = "http://wenq.org";
license = "gplv2"; # with font embedding exceptions
maintainers = stdenv.lib.maintainers.pkmx;
};
}
|