Merge pull request #213327 from zendo/lxgw-neoxihei
lxgw-neoxihei: init at 1.005
This commit is contained in:
commit
dcc5048831
2 changed files with 34 additions and 0 deletions
32
pkgs/data/fonts/lxgw-neoxihei/default.nix
Normal file
32
pkgs/data/fonts/lxgw-neoxihei/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -27241,6 +27241,8 @@ with pkgs;
|
||||||
inherit (plasma5Packages) breeze-icons;
|
inherit (plasma5Packages) breeze-icons;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lxgw-neoxihei = callPackage ../data/fonts/lxgw-neoxihei { };
|
||||||
|
|
||||||
lxgw-wenkai = callPackage ../data/fonts/lxgw-wenkai { };
|
lxgw-wenkai = callPackage ../data/fonts/lxgw-wenkai { };
|
||||||
|
|
||||||
maia-icon-theme = libsForQt5.callPackage ../data/icons/maia-icon-theme { };
|
maia-icon-theme = libsForQt5.callPackage ../data/icons/maia-icon-theme { };
|
||||||
|
|
Loading…
Reference in a new issue