mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
Merge pull request #183111 from loicreynier/feat-fira-go-init
fira-go: init at 1.001
This commit is contained in:
commit
d11817ff22
34
pkgs/data/fonts/fira-go/default.nix
Normal file
34
pkgs/data/fonts/fira-go/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user