2023-01-30 09:25:57 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2014-08-19 16:00:06 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "fira";
|
2020-04-18 23:44:39 +00:00
|
|
|
version = "4.202";
|
2014-08-19 16:00:06 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozilla";
|
|
|
|
repo = "Fira";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-HLReqgL0PXF5vOpwLN0GiRwnzkjGkEVEyOEV2Z4R0oQ=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2014-08-19 16:00:06 +00:00
|
|
|
|
2023-05-23 13:22:53 +00:00
|
|
|
install --mode=-x -Dt $out/share/fonts/opentype otf/*.otf
|
2014-08-19 16:00:06 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2017-08-10 19:43:49 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://mozilla.github.io/Fira/";
|
2015-04-10 20:36:18 +00:00
|
|
|
description = "Sans-serif font for Firefox OS";
|
2014-08-19 16:00:06 +00:00
|
|
|
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
|
2015-04-10 20:36:18 +00:00
|
|
|
corresponding italic versions.
|
2014-08-19 16:00:06 +00:00
|
|
|
'';
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|