inter,inter-ui: init new 'inter', bump inter-ui to last w/that name
This commit is contained in:
parent
3d3bf7d0e0
commit
346082f8ec
@ -1,7 +1,11 @@
|
|||||||
{ stdenv, fetchzip }:
|
{ stdenv, fetchzip }:
|
||||||
|
|
||||||
|
# XXX: IMPORTANT:
|
||||||
|
# For compat, keep this at the last version that used the name "Inter UI"
|
||||||
|
# For newer versions, which are now simply named "Inter",
|
||||||
|
# see the expression for `inter` (../inter/default.nix).
|
||||||
let
|
let
|
||||||
version = "3.1";
|
version = "3.2";
|
||||||
in fetchzip {
|
in fetchzip {
|
||||||
name = "inter-ui-${version}";
|
name = "inter-ui-${version}";
|
||||||
|
|
||||||
@ -12,7 +16,7 @@ in fetchzip {
|
|||||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "0cdjpwylynwmab0x5z5lw43k39vis74xj1ciqg8nw12ccprbmj60";
|
sha256 = "01d2ql803jrhss6g60djvs08x9xl7z6b3snkn03vqnrajdgifcl4";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://rsms.me/inter/;
|
homepage = https://rsms.me/inter/;
|
||||||
|
25
pkgs/data/fonts/inter/default.nix
Normal file
25
pkgs/data/fonts/inter/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv, fetchzip }:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "3.3";
|
||||||
|
in fetchzip {
|
||||||
|
name = "inter-${version}";
|
||||||
|
|
||||||
|
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
|
||||||
|
|
||||||
|
postFetch = ''
|
||||||
|
mkdir -p $out/share/fonts/opentype
|
||||||
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||||
|
'';
|
||||||
|
|
||||||
|
sha256 = "17fv33ryvbla4f4mfgw7m7gjlwyjlni90a8gpb7jws1qzn0vgazg";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://rsms.me/inter/;
|
||||||
|
description = "A typeface specially designed for user interfaces";
|
||||||
|
license = licenses.ofl;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ demize ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -16157,6 +16157,7 @@ in
|
|||||||
maligned = callPackage ../development/tools/maligned { };
|
maligned = callPackage ../development/tools/maligned { };
|
||||||
|
|
||||||
inter-ui = callPackage ../data/fonts/inter-ui { };
|
inter-ui = callPackage ../data/fonts/inter-ui { };
|
||||||
|
inter = callPackage ../data/fonts/inter { };
|
||||||
|
|
||||||
siji = callPackage ../data/fonts/siji { };
|
siji = callPackage ../data/fonts/siji { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user