mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
9baf0b76b7
- [x] make the font derivation fixed-output (https://github.com/NixOS/nixpkgs/issues/27754)
24 lines
577 B
Nix
24 lines
577 B
Nix
{ stdenv, fetchzip }:
|
|
|
|
fetchzip rec {
|
|
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
|
|
'';
|
|
|
|
sha256 = "0i5jh7mkp371fxqmsvn7say075r641yl4hq26isjyrqvb8cv92a9";
|
|
|
|
meta = {
|
|
description = "A (mainly) Chinese Unicode font";
|
|
homepage = http://wenq.org;
|
|
license = stdenv.lib.licenses.asl20;
|
|
maintainers = [ stdenv.lib.maintainers.pkmx ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|
|
|