2023-01-18 20:29:32 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2014-02-08 14:37:40 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "wqy-microhei";
|
|
|
|
version = "0.2.0";
|
2014-02-08 14:37:40 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/wqy/${pname}-${version}-beta.tar.gz";
|
|
|
|
hash = "sha256-KAKsgCOqNqZupudEWFTjoHjTd///QhaTQb0jeHH3IT4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2017-08-11 04:10:51 +00:00
|
|
|
|
|
|
|
install -Dm644 wqy-microhei.ttc $out/share/fonts/wqy-microhei.ttc
|
2014-02-08 14:37:40 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2014-02-08 14:37:40 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A (mainly) Chinese Unicode font";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://wenq.org";
|
2019-05-13 01:55:32 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.pkmx ];
|
|
|
|
platforms = lib.platforms.all;
|
2014-02-08 14:37:40 +00:00
|
|
|
};
|
|
|
|
}
|