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

31 lines
998 B
Nix
Raw Normal View History

2017-08-10 21:43:49 +02:00
{ stdenv, fetchzip }:
2017-08-10 21:43:49 +02:00
fetchzip rec {
2015-10-10 13:35:18 +02:00
name = "fira-4.106";
2018-06-10 20:20:03 +02:00
url = https://github.com/mozilla/Fira/archive/4.106.zip;
2017-08-10 21:43:49 +02:00
postFetch = ''
mkdir -p $out/share/fonts
2018-06-10 20:20:03 +02:00
unzip -j $downloadedFile Fira-4.106/otf/FiraSans\*.otf -d $out/share/fonts/opentype
'';
2018-06-10 20:20:03 +02:00
sha256 = "0c97nmihcq0ki7ywj8zn048a2bgrszc61lb9p0djfi65ar52jab4";
2017-08-10 21:43:49 +02:00
meta = with stdenv.lib; {
2018-06-10 20:20:03 +02:00
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;
};
}