nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 29 lines 680 B view raw
1{ lib, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }: 2 3buildPythonPackage rec { 4 pname = "QtAwesome"; 5 version = "1.1.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "ec02e200231fa68a146a93845890aa0432a7edcba14bf811ff6975cf9acdab5d"; 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}