1{ lib, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }: 2 3buildPythonPackage rec { 4 pname = "QtAwesome"; 5 version = "1.1.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "3fc6eb9327f96ded8e0d291dad4f7a543394c53bff8f9f4badd7433181581a8b"; 10 }; 11 12 propagatedBuildInputs = [ qtpy six ]; 13 14 checkInputs = [ pyqt5 pytest ]; 15 16 checkPhase = '' 17 py.test 18 ''; 19 20 # Requires https://github.com/boylea/qtbot 21 doCheck = false; 22 23 meta = with lib; { 24 description = "Iconic fonts in PyQt and PySide applications"; 25 homepage = "https://github.com/spyder-ide/qtawesome"; 26 license = licenses.mit; 27 platforms = platforms.linux; # fails on Darwin 28 }; 29}