567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
630 B
Nix
32 lines
630 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;
|
|
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 ];
|
|
};
|
|
}
|