2016-10-02 08:45:01 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2015-04-26 10:44:43 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-02 08:45:01 +01:00
|
|
|
name = "font-awesome-${version}";
|
2016-10-29 21:37:09 +01:00
|
|
|
version = "4.7.0";
|
2015-04-26 10:44:43 +01:00
|
|
|
|
2016-10-02 08:45:01 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FortAwesome";
|
|
|
|
repo = "Font-Awesome";
|
|
|
|
rev = "v${version}";
|
2016-10-29 21:37:09 +01:00
|
|
|
sha256 = "0w30y26jp8nvxa3iiw7ayl6rkza1rz62msl9xw3srvxya1c77grc";
|
2015-04-26 10:44:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
2016-10-02 08:45:01 +01:00
|
|
|
cp $src/fonts/*.ttf $out/share/fonts/truetype
|
2015-04-26 10:44:43 +01:00
|
|
|
'';
|
|
|
|
|
2016-10-02 08:45:01 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-04-26 10:44:43 +01: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.
|
|
|
|
'';
|
|
|
|
homepage = "http://fortawesome.github.io/Font-Awesome/";
|
2016-10-02 08:45:01 +01:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ abaldeau ];
|
2015-04-26 10:44:43 +01:00
|
|
|
};
|
|
|
|
}
|