1{ lib, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }:
2
3buildPythonPackage rec {
4 pname = "QtAwesome";
5 version = "1.0.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "771dd95ac4f50d647d18b4e892fd310a580b56d258476554c7b3498593dfd887";
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}