8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
23 lines
672 B
Nix
23 lines
672 B
Nix
{ lib, fetchzip }:
|
|
|
|
let version = "1.210"; in
|
|
fetchzip {
|
|
name = "lxgw-wenkai-${version}";
|
|
url = "https://github.com/lxgw/LxgwWenKai/releases/download/v${version}/lxgw-wenkai-v${version}.tar.gz";
|
|
|
|
postFetch = ''
|
|
tar -xzvf $downloadedFile --strip-components=1
|
|
mkdir -p $out/share/fonts/truetype
|
|
cp *.ttf $out/share/fonts/truetype
|
|
'';
|
|
|
|
sha256 = "n8vnkoOJuUO4Gh+GUInZ/HJK5t4pD7MrPPaxDyH+0Qw=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://lxgw.github.io/";
|
|
description = "An open-source Chinese font derived from Fontworks' Klee One";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ elliot ];
|
|
};
|
|
}
|