mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
31 lines
819 B
Nix
31 lines
819 B
Nix
{ lib, fetchFromGitHub }:
|
|
|
|
let
|
|
version = "5.9.0";
|
|
in fetchFromGitHub rec {
|
|
name = "font-awesome-${version}";
|
|
|
|
owner = "FortAwesome";
|
|
repo = "Font-Awesome";
|
|
rev = version;
|
|
|
|
postFetch = ''
|
|
tar xf $downloadedFile --strip=1
|
|
install -m444 -Dt $out/share/fonts/opentype otfs/*.otf
|
|
'';
|
|
|
|
sha256 = "0sz7mn7g968vp5hszs05grpphd7zr3073az8lyy1lj0096zvjjii";
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|