2017-08-11 06:51:52 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2015-04-26 11:44:43 +02:00
|
|
|
|
2017-08-11 06:51:52 +02:00
|
|
|
let
|
2016-10-29 22:37:09 +02:00
|
|
|
version = "4.7.0";
|
2017-08-11 06:51:52 +02:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "font-awesome-${version}";
|
2015-04-26 11:44:43 +02:00
|
|
|
|
2017-08-11 06:51:52 +02:00
|
|
|
url = "https://github.com/FortAwesome/Font-Awesome/archive/v${version}.zip";
|
2015-04-26 11:44:43 +02:00
|
|
|
|
2017-08-11 06:51:52 +02:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile Font-Awesome-${version}/fonts/fontawesome-webfont.ttf -d $out/share/fonts/truetype
|
2015-04-26 11:44:43 +02:00
|
|
|
'';
|
|
|
|
|
2017-08-11 06:51:52 +02:00
|
|
|
sha256 = "0w8y7gxbqiy444phg4jl89kc5hq3jffbkhab8p110qy9jx8s106s";
|
|
|
|
|
2016-10-02 09:45:01 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-04-26 11:44:43 +02:00
|
|
|
description = "Font Awesome - TTF font";
|
|
|
|
longDescription = ''
|
|
|
|
Font Awesome gives you scalable vector icons that can instantly be customized.
|
|
|
|
This package includes only the TTF font. For full CSS etc. see the project website.
|
|
|
|
'';
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://fortawesome.github.io/Font-Awesome/;
|
2016-10-02 09:45:01 +02:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ abaldeau ];
|
2015-04-26 11:44:43 +02:00
|
|
|
};
|
|
|
|
}
|