font-awesome: 5.15.3 -> 6.1.1

main
Fernando Silva 2 years ago
parent 69def51962
commit 3fd5f63834
No known key found for this signature in database
GPG Key ID: F55076D20369DDE1
  1. 14
      pkgs/data/fonts/font-awesome/default.nix
  2. 7
      pkgs/top-level/all-packages.nix

@ -1,6 +1,6 @@
{ lib, fetchFromGitHub }: { lib, fetchFromGitHub }:
let let
font-awesome = { version, sha256, rev ? version}: fetchFromGitHub { font-awesome = { version, sha256, rev ? version }: fetchFromGitHub {
name = "font-awesome-${version}"; name = "font-awesome-${version}";
@ -21,18 +21,20 @@ let
Font Awesome gives you scalable vector icons that can instantly be customized. 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. This package includes only the OTF font. For full CSS etc. see the project website.
''; '';
homepage = "http://fortawesome.github.io/Font-Awesome/"; homepage = "https://fontawesome.com/";
license = licenses.ofl; license = licenses.ofl;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ abaldeau johnazoidberg ]; maintainers = with maintainers; [ abaldeau johnazoidberg ];
}; };
}; };
in { in
# Keeping version 4 because version 5 is incompatible for some icons. That {
# Keeping version 4 and 5 because version 6 is incompatible for some icons. That
# means that projects which depend on it need to actively convert the # means that projects which depend on it need to actively convert the
# symbols. See: # symbols. See:
# https://github.com/greshake/i3status-rust/issues/130 # https://github.com/greshake/i3status-rust/issues/130
# https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4 # https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4
# https://fontawesome.com/v6/docs/web/setup/upgrade/
v4 = font-awesome { v4 = font-awesome {
version = "4.7.0"; version = "4.7.0";
rev = "v4.7.0"; rev = "v4.7.0";
@ -42,4 +44,8 @@ in {
version = "5.15.3"; version = "5.15.3";
sha256 = "sha256-EDxk/yO3nMmtM/ytrAEgPYSBbep3rA3NrKkiqf3OsU0="; sha256 = "sha256-EDxk/yO3nMmtM/ytrAEgPYSBbep3rA3NrKkiqf3OsU0=";
}; };
v6 = font-awesome {
version = "6.1.1";
sha256 = "sha256-BjK1PJQFWtKDvfQ2Vh7BoOPqYucyvOG+2Pu/Kh+JpAA";
};
} }

@ -24121,9 +24121,10 @@ with pkgs;
flat-remix-gtk = callPackage ../data/themes/flat-remix-gtk { }; flat-remix-gtk = callPackage ../data/themes/flat-remix-gtk { };
flat-remix-gnome = callPackage ../data/themes/flat-remix-gnome { }; flat-remix-gnome = callPackage ../data/themes/flat-remix-gnome { };
font-awesome_4 = (callPackage ../data/fonts/font-awesome-5 { }).v4; font-awesome_4 = (callPackage ../data/fonts/font-awesome { }).v4;
font-awesome_5 = (callPackage ../data/fonts/font-awesome-5 { }).v5; font-awesome_5 = (callPackage ../data/fonts/font-awesome { }).v5;
font-awesome = font-awesome_5; font-awesome_6 = (callPackage ../data/fonts/font-awesome { }).v6;
font-awesome = font-awesome_6;
fraunces = callPackage ../data/fonts/fraunces { }; fraunces = callPackage ../data/fonts/fraunces { };

Loading…
Cancel
Save