depot/third_party/nixpkgs/pkgs/development/python-modules/fontawesomefree/default.nix

32 lines
632 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "fontawesomefree";
version = "6.5.1";
format = "wheel";
# they only provide a wheel
src = fetchPypi {
inherit pname version format;
dist = "py3";
python = "py3";
hash = "sha256-jexKLuN7+OUzeeu/DTjO/sTgbHySJ/Wa8527exYygXs=";
};
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 ];
};
}