nixpkgs/pkgs/data/fonts/fira/default.nix
2017-08-11 14:26:03 +00:00

30 lines
986 B
Nix

{ stdenv, fetchzip }:
fetchzip rec {
name = "fira-4.106";
url = http://www.carrois.com/downloads/fira_4_1/FiraFonts4106.zip;
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
'';
sha256 = "174nwmpvxqg1qjfj6h3yvrphs1s3n6zricdh27iaxilajm0ilbgs";
meta = with stdenv.lib; {
homepage = http://www.carrois.com/fira-4-1/;
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;
};
}