2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchzip }:
|
2015-04-10 22:35:34 +02:00
|
|
|
|
2021-08-05 23:32:34 +02:00
|
|
|
let version = "4.202";
|
|
|
|
in fetchzip {
|
|
|
|
name = "fira-mono-${version}";
|
2015-04-10 22:35:34 +02:00
|
|
|
|
2021-08-05 23:32:34 +02:00
|
|
|
url = "https://github.com/mozilla/Fira/archive/${version}.zip";
|
2015-04-10 22:35:34 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
2021-08-05 23:32:34 +02:00
|
|
|
unzip -j $downloadedFile Fira-${version}/otf/FiraMono\*.otf -d $out/share/fonts/opentype
|
2015-04-10 22:35:34 +02:00
|
|
|
'';
|
|
|
|
|
2018-06-10 20:21:23 +02:00
|
|
|
sha256 = "1ci3fxhdwabvfj4nl16pwcgqnh7s2slp8vblribk8zkpx8cbp1dj";
|
2017-08-10 21:43:49 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://mozilla.github.io/Fira/";
|
2015-04-10 22:35:34 +02:00
|
|
|
description = "Monospace font for Firefox OS";
|
|
|
|
longDescription = ''
|
|
|
|
Fira Mono is a monospace font designed by Erik Spiekermann,
|
|
|
|
Ralph du Carrois, Anja Meiners and Botio Nikoltchev of Carrois
|
|
|
|
Type Design for Mozilla Firefox OS. Available in Regular,
|
|
|
|
Medium, and Bold.
|
|
|
|
'';
|
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|