python3Packages.fontawesomefree: init at 6.4.0

This commit is contained in:
Jennifer Graul 2023-07-25 16:47:58 +02:00
parent d205f49d6a
commit ab5229ec4d
No known key found for this signature in database
GPG key ID: 144607B4C4EE1E6E
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "fontawesomefree";
version = "6.4.0";
format = "wheel";
# they only provide a wheel
src = fetchPypi {
inherit pname version format;
dist = "py3";
python = "py3";
hash = "sha256-4S7a1xts9pk/x8aupjZ+Ex8vJHtkNfrKmbEjKbrNKyc=";
};
pythonImportsCheck = [
"fontawesomefree"
];
meta = with lib; {
homepage = "https://github.com/FortAwesome/Font-Awesome";
description = "Icon library and toolkit";
license = with licenses; [ ofl cc-by-40 ];
maintainers = with maintainers; [ netali ];
};
}

View file

@ -3928,6 +3928,8 @@ self: super: with self; {
folium = callPackage ../development/python-modules/folium { };
fontawesomefree = callPackage ../development/python-modules/fontawesomefree { };
fontforge = toPythonModule (pkgs.fontforge.override {
withPython = true;
inherit python;