mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
inter: modernize (#560495)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user