lxgw-neoxihei: init at 1.005

This commit is contained in:
zendo 2023-01-29 16:54:06 +08:00
parent 99563190d5
commit 388b6fa516
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, fetchurl
, stdenvNoCC
}:
stdenvNoCC.mkDerivation rec {
pname = "lxgw-neoxihei";
version = "1.005";
src = fetchurl {
url = "https://github.com/lxgw/LxgwNeoXiHei/releases/download/v${version}/LXGWNeoXiHei.ttf";
hash = "sha256-IvbbeBjpFz9zHt3mHu5vY8sLETKnvOMv7eHjANQ2GlA=";
};
dontUnpack = true;
installPhase = ''
runHook preInstall
install -Dm644 $src $out/share/fonts/truetype/LXGWNeoXiHei.ttf
runHook postInstall
'';
meta = with lib; {
description = "A Simplified Chinese sans-serif font derived from IPAex Gothic";
homepage = "https://github.com/lxgw/LxgwNeoXiHei";
license = licenses.ipa;
platforms = platforms.all;
maintainers = with maintainers; [ zendo ];
};
}

View file

@ -27236,6 +27236,8 @@ with pkgs;
inherit (plasma5Packages) breeze-icons;
};
lxgw-neoxihei = callPackage ../data/fonts/lxgw-neoxihei { };
lxgw-wenkai = callPackage ../data/fonts/lxgw-wenkai { };
maia-icon-theme = libsForQt5.callPackage ../data/icons/maia-icon-theme { };