2023-01-24 21:17:01 +01:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2022-07-27 17:57:00 +02:00
|
|
|
|
2023-01-24 21:17:01 +01:00
|
|
|
stdenvNoCC.mkDerivation {
|
2022-07-27 17:57:00 +02:00
|
|
|
pname = "fira-go";
|
|
|
|
version = "1.001";
|
|
|
|
|
2023-01-24 21:17:01 +01:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/bBoxType/FiraGo/archive/9882ba0851f88ab904dc237f250db1d45641f45d.zip";
|
|
|
|
hash = "sha256-WwgPg7OLrXBjR6oHG5061RO3HeNkj2Izs6ktwIxVw9o=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2022-07-27 17:57:00 +02:00
|
|
|
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
2023-01-24 21:17:01 +01:00
|
|
|
mv Fonts/FiraGO_OTF_1001/{Roman,Italic}/*.otf \
|
2022-07-27 17:57:00 +02:00
|
|
|
$out/share/fonts/opentype
|
|
|
|
|
2023-01-24 21:17:01 +01:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2022-07-27 17:57:00 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|