mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
lxgw-neoxihei: init at 1.005
This commit is contained in:
parent
99563190d5
commit
388b6fa516
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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue