1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/pkgs/data/fonts/font-awesome-ttf/default.nix

32 lines
866 B
Nix
Raw Normal View History

2015-04-26 10:44:43 +01:00
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
2015-08-09 13:17:29 +01:00
name = "font-awesome-4.4.0";
2015-04-26 10:44:43 +01:00
src = fetchurl {
url = "http://fortawesome.github.io/Font-Awesome/assets/${name}.zip";
2015-08-09 13:17:29 +01:00
sha256 = "1bmjh3j533awihdxihvlk2d1ypzs9q7azj0viqbm0df8jj2v4rwq";
2015-04-26 10:44:43 +01:00
};
buildCommand = ''
${unzip}/bin/unzip $src
mkdir -p $out/share/fonts/truetype
cp */fonts/*.ttf $out/share/fonts/truetype
'';
meta = {
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/";
license = stdenv.lib.licenses.ofl;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.abaldeau ];
};
}