Merge pull request #183111 from loicreynier/feat-fira-go-init

fira-go: init at 1.001
This commit is contained in:
Sebastián Mancilla 2022-08-14 22:17:55 -04:00 committed by GitHub
commit d11817ff22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -25052,6 +25052,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 {