summary refs log tree commit diff
path: root/pkgs/data/fonts/wqy-microhei/default.nix
blob: 97638cb008c0f6f59927e6d9ee5d48d27ecd2cf1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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/wqy-microhei.ttc
    '';

  meta = {
    description = "A (mainly) Chinese Unicode font";
  };
}