inter: 3.19 -> 4.0

This commit is contained in:
SharzyL 2023-11-20 12:50:29 +08:00
parent 3f21a22b5a
commit c6a4304297
No known key found for this signature in database

View File

@ -2,19 +2,19 @@
stdenvNoCC.mkDerivation rec {
pname = "inter";
version = "3.19";
version = "4.0";
src = fetchzip {
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
stripRoot = false;
hash = "sha256-6kUQUTFtxiJEU6sYC6HzMwm1H4wvaKIoxoY3F6GJJa8=";
hash = "sha256-hFK7xFJt69n+98+juWgMvt+zeB9nDkc8nsR8vohrFIc=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/opentype
cp */*.otf $out/share/fonts/opentype
mkdir -p $out/share/fonts/truetype
cp Inter.ttc InterVariable*.ttf $out/share/fonts/truetype
runHook postInstall
'';