@@ -0,0 +1,31 @@
1+{stdenv, fetchurl, unzip}:
2+
3+stdenv.mkDerivation rec {
4+ name = "font-awesome-4.3.0";
5+
6+ src = fetchurl {
7+ url = "http://fortawesome.github.io/Font-Awesome/assets/${name}.zip";
8+ sha256 = "018syfvkj01jym60mpys93xv84ky9l2x90gprnm9npzwkw5169jc";
9+ };
10+
11+ buildCommand = ''
12+ ${unzip}/bin/unzip $src
13+ mkdir -p $out/share/fonts/truetype
14+ cp */fonts/*.ttf $out/share/fonts/truetype
15+ '';
16+
17+ meta = {
18+ description = "Font Awesome - TTF font";
19+
20+ longDescription = ''
21+ Font Awesome gives you scalable vector icons that can instantly be customized.
22+ This package includes only the TTF font. For full CSS etc. see the project website.
23+ '';
24+
25+ homepage = "http://fortawesome.github.io/Font-Awesome/";
26+ license = stdenv.lib.licenses.ofl;
27+
28+ platforms = stdenv.lib.platforms.all;
29+ maintainers = [ stdenv.lib.maintainers.abaldeau ];
30+ };
31+}