inter: modernize (#560495)

This commit is contained in:
Sebastián Mancilla
2026-09-29 00:33:20 +00:00
committed by GitHub

View File

@@ -4,12 +4,12 @@
fetchzip,
installFonts,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "inter";
version = "4.1";
src = fetchzip {
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
url = "https://github.com/rsms/inter/releases/download/v${finalAttrs.version}/Inter-${finalAttrs.version}.zip";
stripRoot = false;
hash = "sha256-5vdKKvHAeZi6igrfpbOdhZlDX2/5+UvzlnCQV6DdqoQ=";
};
@@ -21,6 +21,8 @@ stdenvNoCC.mkDerivation rec {
dontInstallWebfonts = true;
__structuredAttrs = true;
meta = {
homepage = "https://rsms.me/inter/";
description = "Typeface specially designed for user interfaces";
@@ -28,4 +30,4 @@ stdenvNoCC.mkDerivation rec {
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ demize ];
};
}
})