fira-go: init at 1.001

This commit is contained in:
Loïc Reynier 2022-07-27 17:57:00 +02:00
parent 0af1562d4e
commit 29fb8273cc
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib, fetchzip }:
let
pname = "fira-go";
version = "1.001";
user = "bBoxType";
repo = "FiraGo";
rev = "9882ba0851f88ab904dc237f250db1d45641f45d";
in
fetchzip {
name = "${pname}-${version}";
url = "https://github.com/${user}/${repo}/archive/${rev}.zip";
postFetch = ''
mkdir -p $out/share/fonts/opentype
mv $out/Fonts/FiraGO_OTF_1001/{Roman,Italic}/*.otf \
$out/share/fonts/opentype
rm -r $out/{Fonts,'Technical Report PDF',OFL.txt,README.md,*.pdf}
'';
sha256 = "sha256-MDGRba1eao/yVzSuncJ/nvCG8cpdrI4roVPI1G9qCbU=";
meta = with lib; {
homepage = "https://bboxtype.com/typefaces/FiraGO";
description = ''
Font with the same glyph set as Fira Sans 4.3 and additionally
supports Arabic, Devenagari, Georgian, Hebrew and Thai
'';
license = licenses.ofl;
maintainers = [ maintainers.loicreynier ];
platforms = platforms.all;
};
}

View file

@ -24894,6 +24894,8 @@ with pkgs;
fira-code = callPackage ../data/fonts/fira-code { };
fira-code-symbols = callPackage ../data/fonts/fira-code/symbols.nix { };
fira-go = callPackage ../data/fonts/fira-go { };
fira-mono = callPackage ../data/fonts/fira-mono { };
flat-remix-icon-theme = callPackage ../data/icons/flat-remix-icon-theme {