Merge pull request #55967 from Mic92/font-awesome

font-awesome_5: 5.6.3 -> 5.7.2
This commit is contained in:
Jörg Thalheim
2019-02-26 14:12:52 +00:00
committed by GitHub
4 changed files with 4 additions and 32 deletions

View File

@@ -1,28 +0,0 @@
{ stdenv, fetchzip }:
let
version = "4.7.0";
in fetchzip rec {
name = "font-awesome-${version}";
url = "https://github.com/FortAwesome/Font-Awesome/archive/v${version}.zip";
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile Font-Awesome-${version}/fonts/fontawesome-webfont.ttf -d $out/share/fonts/truetype
'';
sha256 = "0w8y7gxbqiy444phg4jl89kc5hq3jffbkhab8p110qy9jx8s106s";
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 ];
};
}

View File

@@ -1,7 +1,7 @@
{ stdenv, fetchzip }:
let
version = "5.6.3";
version = "5.7.2";
in fetchzip rec {
name = "font-awesome-${version}";
@@ -12,7 +12,7 @@ in fetchzip rec {
unzip -j $downloadedFile "Font-Awesome-${version}/otfs/*.otf" -d $out/share/fonts/opentype
'';
sha256 = "0y3zar7hyx5pj8rpyk2kz3sx6zgrfif2ka2h4rg0b8h8qbja0al6";
sha256 = "0b3syzz8baxmwzjgz09dnamm4nzmyvb2yddlrm94ww5j9bjk25al";
meta = with stdenv.lib; {
description = "Font Awesome - OTF font";