1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 09:03:48 +00:00
nixpkgs/pkgs/data/fonts/wqy-microhei/default.nix

24 lines
555 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2014-02-08 14:37:40 +00:00
fetchzip rec {
2014-02-08 14:37:40 +00:00
name = "wqy-microhei-0.2.0-beta";
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
sha256 = "0i5jh7mkp371fxqmsvn7say075r641yl4hq26isjyrqvb8cv92a9";
2014-02-08 14:37:40 +00:00
meta = {
description = "A (mainly) Chinese Unicode font";
homepage = "http://wenq.org";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.pkmx ];
platforms = lib.platforms.all;
2014-02-08 14:37:40 +00:00
};
}