Commit 388b6fa5 authored by zendo's avatar zendo
Browse files

lxgw-neoxihei: init at 1.005

parent 99563190
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ lib
, fetchurl
, stdenvNoCC
}:

stdenvNoCC.mkDerivation rec {
  pname = "lxgw-neoxihei";
  version = "1.005";

  src = fetchurl {
    url = "https://github.com/lxgw/LxgwNeoXiHei/releases/download/v${version}/LXGWNeoXiHei.ttf";
    hash = "sha256-IvbbeBjpFz9zHt3mHu5vY8sLETKnvOMv7eHjANQ2GlA=";
  };

  dontUnpack = true;

  installPhase = ''
    runHook preInstall

    install -Dm644 $src $out/share/fonts/truetype/LXGWNeoXiHei.ttf

    runHook postInstall
  '';

  meta = with lib; {
    description = "A Simplified Chinese sans-serif font derived from IPAex Gothic";
    homepage = "https://github.com/lxgw/LxgwNeoXiHei";
    license = licenses.ipa;
    platforms = platforms.all;
    maintainers = with maintainers; [ zendo ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -27236,6 +27236,8 @@ with pkgs;
    inherit (plasma5Packages) breeze-icons;
  };
  lxgw-neoxihei = callPackage ../data/fonts/lxgw-neoxihei { };
  lxgw-wenkai = callPackage ../data/fonts/lxgw-wenkai { };
  maia-icon-theme = libsForQt5.callPackage ../data/icons/maia-icon-theme { };