diff options
-rw-r--r-- | pkgs/data/fonts/fira-go/default.nix | 34 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/data/fonts/fira-go/default.nix b/pkgs/data/fonts/fira-go/default.nix new file mode 100644 index 0000000000000..2d5952523a601 --- /dev/null +++ b/pkgs/data/fonts/fira-go/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aaf2fe0d66c9a..54c3eb3e085d5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { |