2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchFromGitHub }:
|
2018-02-25 17:50:20 +00:00
|
|
|
|
|
|
|
let
|
2019-05-08 03:36:12 +01:00
|
|
|
version = "5.8.2";
|
2019-05-13 02:55:32 +01:00
|
|
|
in fetchFromGitHub rec {
|
2018-02-25 17:50:20 +00:00
|
|
|
name = "font-awesome-${version}";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
owner = "FortAwesome";
|
|
|
|
repo = "Font-Awesome";
|
|
|
|
rev = version;
|
2018-02-25 17:50:20 +00:00
|
|
|
|
|
|
|
postFetch = ''
|
2019-05-13 02:55:32 +01:00
|
|
|
tar xf $downloadedFile --strip=1
|
|
|
|
install -m444 -Dt $out/share/fonts/opentype otfs/*.otf
|
2018-02-25 17:50:20 +00:00
|
|
|
'';
|
|
|
|
|
2019-05-08 03:36:12 +01:00
|
|
|
sha256 = "1h0qhvkfyfs4579jvrk3gwc7dp4i9s46bkj406b493dvmxxhv986";
|
2018-02-25 17:50:20 +00:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2018-02-25 17:50:20 +00:00
|
|
|
description = "Font Awesome - OTF font";
|
|
|
|
longDescription = ''
|
|
|
|
Font Awesome gives you scalable vector icons that can instantly be customized.
|
|
|
|
This package includes only the OTF 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 ];
|
|
|
|
};
|
|
|
|
}
|