evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / lx / lxgw-wenkai / package.nix
blobadf23d18e9c676f87b3687720eac8a6f81bbf69f
2   lib,
3   stdenvNoCC,
4   fetchurl,
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "lxgw-wenkai";
9   version = "1.501";
11   src = fetchurl {
12     url = "https://github.com/lxgw/LxgwWenKai/releases/download/v${version}/${pname}-v${version}.tar.gz";
13     hash = "sha256-7BBg6TGJzTVgBHPyzTYGFjXmidvAzOVCWAU11LylmBI=";
14   };
16   installPhase = ''
17     runHook preInstall
19     mkdir -p $out/share/fonts/truetype
20     mv *.ttf $out/share/fonts/truetype
22     runHook postInstall
23   '';
25   meta = with lib; {
26     homepage = "https://lxgw.github.io/";
27     description = "Open-source Chinese font derived from Fontworks' Klee One";
28     license = licenses.ofl;
29     platforms = platforms.all;
30     maintainers = with maintainers; [ ryanccn ];
31   };