nixpkgs/pkgs/data/fonts/fira-mono/default.nix

29 lines
823 B
Nix
Raw Normal View History

2017-08-10 19:43:49 +00:00
{ stdenv, fetchzip }:
2015-04-10 20:35:34 +00:00
2017-08-10 19:43:49 +00:00
fetchzip {
2015-10-10 11:35:52 +00:00
name = "fira-mono-3.206";
2015-04-10 20:35:34 +00:00
2018-06-10 18:21:23 +00:00
url = https://github.com/mozilla/Fira/archive/4.106.zip;
2015-04-10 20:35:34 +00:00
2017-08-10 19:43:49 +00:00
postFetch = ''
mkdir -p $out/share/fonts
2018-06-10 18:21:23 +00:00
unzip -j $downloadedFile Fira-4.106/otf/FiraMono\*.otf -d $out/share/fonts/opentype
2015-04-10 20:35:34 +00:00
'';
2018-06-10 18:21:23 +00:00
sha256 = "1ci3fxhdwabvfj4nl16pwcgqnh7s2slp8vblribk8zkpx8cbp1dj";
2017-08-10 19:43:49 +00:00
2015-04-10 20:35:34 +00:00
meta = with stdenv.lib; {
2018-06-10 18:21:23 +00:00
homepage = https://mozilla.github.io/Fira/;
2015-04-10 20:35:34 +00: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;
};
}