a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
Nix
{ lib, stdenvNoCC, fetchFromGitHub }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "fira";
|
|
version = "4.202";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mozilla";
|
|
repo = "Fira";
|
|
rev = version;
|
|
hash = "sha256-HLReqgL0PXF5vOpwLN0GiRwnzkjGkEVEyOEV2Z4R0oQ=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
cp otf/*.otf $out/share/fonts/opentype
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://mozilla.github.io/Fira/";
|
|
description = "Sans-serif font for Firefox OS";
|
|
longDescription = ''
|
|
Fira Sans is a sans-serif font designed by Erik Spiekermann,
|
|
Ralph du Carrois, Anja Meiners and Botio Nikoltchev of Carrois
|
|
Type Design for Mozilla Firefox OS. It is closely related to
|
|
Spiekermann's FF Meta typeface. Available in Two, Four, Eight,
|
|
Hair, Thin, Ultra Light, Extra Light, Light, Book, Regular,
|
|
Medium, Semi Bold, Bold, Extra Bold, Heavy weights with
|
|
corresponding italic versions.
|
|
'';
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|