Files
nixpkgs/pkgs/development/python-modules/fontawesomefree/default.nix
T
Yueh-Shun Li c184bc4561 treewide: fetchPypi: stop inheriting format from the main package
The `format` of `buildPythonPackage` has differed from `fetchPypi`.

Decouple to facilitate `finalAttrs` migration.
2026-01-11 14:44:05 +01:00

33 lines
645 B
Nix

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