5 stdenvNoCC.mkDerivation rec {
6 pname = "zpix-pixel-font";
11 name = "zpix-pixel-font.bdf";
12 url = "https://github.com/SolidZORO/zpix-pixel-font/releases/download/v${version}/zpix.bdf";
13 hash = "sha256-qE6YPKuk1FRRrTvmy4YIDuxRfslma264piUDj1FWtk4=";
16 name = "zpix-pixel-font.ttf";
17 url = "https://github.com/SolidZORO/zpix-pixel-font/releases/download/v${version}/zpix.ttf";
18 hash = "sha256-UIgLGsVTbyhYMKfTYiA+MZmV4dFT9HX3sxTdrcc4vE0=";
23 __structuredAttrs = true;
27 install -Dm444 ''${srcs[0]} $out/share/fonts/misc/zpix.bdf
28 install -Dm444 ''${srcs[1]} $out/share/fonts/truetype/zpix.ttf
33 description = "A pixel font supporting multiple languages like English, Chinese and Japanese";
34 homepage = "https://github.com/SolidZORO/zpix-pixel-font/";
35 changelog = "https://github.com/SolidZORO/zpix-pixel-font/blob/master/CHANGELOG.md";
36 license = licenses.unfree;
37 maintainers = [ maintainers.adriangl ];
38 platforms = platforms.all;