1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "fontawesomefree"; 8 version = "6.4.2"; 9 format = "wheel"; 10 11 # they only provide a wheel 12 src = fetchPypi { 13 inherit pname version format; 14 dist = "py3"; 15 python = "py3"; 16 hash = "sha256-zq/378T8Odrf88P/cpinoQlUAxENNz8iRWuxw0q22wI="; 17 }; 18 19 pythonImportsCheck = [ 20 "fontawesomefree" 21 ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/FortAwesome/Font-Awesome"; 25 description = "Icon library and toolkit"; 26 license = with licenses; [ ofl cc-by-40 ]; 27 maintainers = with maintainers; [ netali ]; 28 }; 29}