Merge pull request #245708 from NetaliDev/python-fontawesome
This commit is contained in:
commit
975f881802
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/fontawesomefree/default.nix
Normal file
29
pkgs/development/python-modules/fontawesomefree/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3928,6 +3928,8 @@ self: super: with self; {
|
||||||
|
|
||||||
folium = callPackage ../development/python-modules/folium { };
|
folium = callPackage ../development/python-modules/folium { };
|
||||||
|
|
||||||
|
fontawesomefree = callPackage ../development/python-modules/fontawesomefree { };
|
||||||
|
|
||||||
fontforge = toPythonModule (pkgs.fontforge.override {
|
fontforge = toPythonModule (pkgs.fontforge.override {
|
||||||
withPython = true;
|
withPython = true;
|
||||||
inherit python;
|
inherit python;
|
||||||
|
|
Loading…
Reference in a new issue