fonts-ms-win11: install license, change homepage

This commit is contained in:
ZMSUN 2025-10-06 08:27:30 +08:00
parent 2e1052258f
commit 46bd9be3c3
Signed by: zm
GPG key ID: 9887E5061F495C4C

View file

@ -20,11 +20,15 @@ stdenv.mkDerivation rec {
mkdir -p $out/share/fonts/truetype
install -D *.{ttf,TTF} $out/share/fonts/truetype/
install -D *.ttc $out/share/fonts/
mkdir -p $out/share/doc/$pname/
install -D {license,LICENSE}.* $out/share/doc/$pname/
runHook postInstall
'';
meta = with lib; {
homepage = "https://git.zmsun.cn/pkg/fonts-ms-win11";
homepage = "https://www.microsoft.com/windows/";
description = "Microsoft Windows 11 TrueType fonts for Linux";
license = licenses.unfree;
platforms = platforms.all;