2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchFromGitHub }:
|
2014-08-19 18:00:06 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
let
|
2020-04-19 01:44:39 +02:00
|
|
|
version = "4.202";
|
2019-05-13 03:55:32 +02:00
|
|
|
in fetchFromGitHub {
|
|
|
|
name = "fira-${version}";
|
2014-08-19 18:00:06 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
owner = "mozilla";
|
|
|
|
repo = "Fira";
|
|
|
|
rev = version;
|
2014-08-19 18:00:06 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
postFetch = ''
|
2019-05-13 03:55:32 +02:00
|
|
|
tar xf $downloadedFile --strip=1
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
|
|
cp otf/*.otf $out/share/fonts/opentype
|
2014-08-19 18:00:06 +02:00
|
|
|
'';
|
|
|
|
|
2020-04-19 01:44:39 +02:00
|
|
|
sha256 = "1iwxbp7kw5kghh5nbycb05zby7p2ib61mywva3h6giv2wd4lpxnz";
|
2017-08-10 21:43:49 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://mozilla.github.io/Fira/";
|
2015-04-10 22:36:18 +02:00
|
|
|
description = "Sans-serif font for Firefox OS";
|
2014-08-19 18:00:06 +02: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 22:36:18 +02:00
|
|
|
corresponding italic versions.
|
2014-08-19 18:00:06 +02:00
|
|
|
'';
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|