2015-03-10 19:30:05 +01:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2014-08-19 18:00:06 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-10-10 13:35:18 +02:00
|
|
|
name = "fira-4.106";
|
2014-08-19 18:00:06 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-10-10 13:35:18 +02:00
|
|
|
url = http://www.carrois.com/downloads/fira_4_1/FiraFonts4106.zip;
|
|
|
|
sha256 = "123xwd7abb96lsla1v579vfpvc7fwixhq78221qxrw4dv8mgf8id";
|
2014-08-19 18:00:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [unzip];
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
2015-10-10 13:35:18 +02:00
|
|
|
sourceRoot = "FiraFonts4106";
|
2014-08-19 18:00:06 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
|
|
find . -name "*.otf" -exec cp -v {} $out/share/fonts/opentype \;
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-04-10 21:01:30 +02:00
|
|
|
homepage = http://www.carrois.com/fira-4-1/;
|
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;
|
|
|
|
};
|
|
|
|
}
|