mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #309462 from lebensterben/lxgw-wenkai-tc
lxgw-wenkai-tc: init at 1.330
This commit is contained in:
commit
f293e4ebbc
2 changed files with 38 additions and 0 deletions
|
@ -11300,6 +11300,14 @@
|
|||
githubId = 887072;
|
||||
name = "Alexander Lebedev";
|
||||
};
|
||||
lebensterben = {
|
||||
name = "Lucius Hu";
|
||||
github = "lebensterben";
|
||||
githubId = 1222865;
|
||||
keys = [{
|
||||
fingerprint = "80C6 77F2 ED0B E732 3835 A8D3 7E47 4E82 E29B 5A7A";
|
||||
}];
|
||||
};
|
||||
lecoqjacob = {
|
||||
name = "Jacob LeCoq";
|
||||
email = "lecoqjacob@gmail.com";
|
||||
|
|
30
pkgs/by-name/lx/lxgw-wenkai-tc/package.nix
Normal file
30
pkgs/by-name/lx/lxgw-wenkai-tc/package.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenvNoCC
|
||||
, fetchurl
|
||||
, lib
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "lxgw-wenkai-tc";
|
||||
version = "1.330";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/lxgw/LxgwWenKaiTC/releases/download/v${version}/${pname}-v${version}.tar.gz";
|
||||
hash = "sha256-qpX5shH1HbGMa287u/R1rMFgQeAUC0wwKFVD+QSTyho=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mv *.ttf $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/lxgw/LxgwWenKaiTC";
|
||||
description = "The Traditional Chinese Edition of LXGW WenKai.";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ lebensterben ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue