blob: bc564a80d9237f79422be945f29441fd6859e08e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "font-awesome-${version}";
version = "4.7.0";
src = fetchFromGitHub {
owner = "FortAwesome";
repo = "Font-Awesome";
rev = "v${version}";
sha256 = "0w30y26jp8nvxa3iiw7ayl6rkza1rz62msl9xw3srvxya1c77grc";
};
buildCommand = ''
mkdir -p $out/share/fonts/truetype
cp $src/fonts/*.ttf $out/share/fonts/truetype
'';
meta = with stdenv.lib; {
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 = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ abaldeau ];
};
}
|