python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / lx / lxgw-wenkai-screen / package.nix
blobd241185c5f00cbc2b59c6632b1c609be2fa32a52
2   stdenvNoCC,
3   fetchurl,
4   lib,
5 }:
7 stdenvNoCC.mkDerivation (finalAttrs: {
8   pname = "lxgw-wenkai-screen";
9   version = "1.501";
11   src = fetchurl {
12     url = "https://github.com/lxgw/LxgwWenKai-Screen/releases/download/v${finalAttrs.version}/LXGWWenKaiScreen.ttf";
13     hash = "sha256-em3uh53neN8v1ueiw1rWVtC0bteD7IG3X1g9tkjBRJA=";
14   };
16   dontUnpack = true;
18   installPhase = ''
19     runHook preInstall
20     install -Dm644 "$src" "$out/share/fonts/truetype/LXGWWenKaiScreen.ttf"
21     runHook postInstall
22   '';
24   meta = {
25     description = "LXGW WenKai font optimized for screen reading";
26     homepage = "https://github.com/lxgw/LxgwWenKai-Screen";
27     license = lib.licenses.ofl;
28     platforms = lib.platforms.all;
29     maintainers = with lib.maintainers; [ lebensterben ];
30   };