2017-08-11 05:10:51 +01:00
|
|
|
{ stdenv, fetchzip }:
|
2014-02-08 14:37:40 +00:00
|
|
|
|
2017-08-11 05:10:51 +01:00
|
|
|
fetchzip rec {
|
2014-02-08 14:37:40 +00:00
|
|
|
name = "wqy-microhei-0.2.0-beta";
|
|
|
|
|
2017-08-11 05:10:51 +01:00
|
|
|
url = "mirror://sourceforge/wqy/${name}.tar.gz";
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
tar -xzf $downloadedFile --strip-components=1
|
|
|
|
install -Dm644 wqy-microhei.ttc $out/share/fonts/wqy-microhei.ttc
|
|
|
|
'';
|
2014-02-08 14:37:40 +00:00
|
|
|
|
2017-08-11 05:10:51 +01:00
|
|
|
sha256 = "0i5jh7mkp371fxqmsvn7say075r641yl4hq26isjyrqvb8cv92a9";
|
2014-02-08 14:37:40 +00: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.asl20;
|
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;
|
2014-02-08 14:37:40 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|