| 30 Nov 2025 |
Shalala Harris | chinese/japanese/korean | 11:40:01 |
Shalala Harris | Eu procurei bastante no Google como extrair o output hash de uma build com outputHash = "", mas não encontrei. Fiz em bash, grepando stderr. | 11:37:38 |
Shalala Harris | Eu faço o build e extraio o outputHash. Eu poderia extrair os hashes dos ttfs individuais do PKGBUILD, mas não cheguei a implementar isso. | 11:35:55 |
Shalala Harris | https://github.com/kugland/nix-ttf-ms-win11-auto/blob/b30e0b090ebb669c5bfab437b7c7ef4ecdcbd9f9/update-pkgs.sh#L31 Eu implementei essa função no script de update para gerar os outputHashes. | 11:36:58 |
Shalala Harris | Não entendi. Fazer o quê? | 11:40:47 |
Shalala Harris | TTCs tem só para fontes CJK. | 11:39:58 |
Shalala Harris | Sim, é tudo TTF. | 11:39:06 |
Shalala Harris | Dentro da VM eu posso fazer mknod /dev/fuse | 11:42:26 |
Shalala Harris | Pirataria. | 22:09:39 |
Shalala Harris | pkgs.fetchtorrent é muito foda | 22:27:12 |
Shalala Harris | O que ia ser legal é implementar um fetcher para ipfs. | 22:32:31 |
Shalala Harris | coincidentemente, mais fontes:
{
pkgs,
lib,
...
}:
pkgs.stdenvNoCC.mkDerivation {
pname = "adobe-font-folio";
version = "11.0.0";
src = pkgs.fetchtorrent {
url = "magnet:?xt=urn:btih:AA4926C9A4FB3B39DBC0CC23B415BABED19E2947";
hash = "sha256-XY1tjP2OnP4wLxIn500vmlY+WNc8UAae8ZSKngbIK14=";
backend = "rqbit";
};
nativeBuildInputs = [pkgs.p7zip];
installPhase = ''
runHook preInstall
7z x "Adobe Font Folio 11.iso" -oiso_contents
mkdir -p $out/share/fonts/{opentype,truetype}
find iso_contents -type f -iname "*.otf" -exec cp {} $out/share/fonts/opentype/ \;
find iso_contents -type f -iname "*.ttf" -exec cp {} $out/share/fonts/truetype/ \;
chmod 0444 $out/share/fonts/opentype/* $out/share/fonts/truetype/*
rm -rf iso_contents
runHook postInstall
'';
meta = with lib; {
description = "Adobe Font Folio 11";
homepage = "https://thepiratebay.org/description.php?id=6087745";
license = lib.licenses.unfree;
maintainers = [];
platforms = platforms.all;
};
} | 22:26:56 |