2021-01-25 00:26:54 -08:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }:
|
2017-11-15 07:18:08 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "QtAwesome";
|
2021-02-20 01:09:16 -08:00
|
|
|
version = "1.0.2";
|
2017-11-15 07:18:08 -08:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 01:09:16 -08:00
|
|
|
sha256 = "771dd95ac4f50d647d18b4e892fd310a580b56d258476554c7b3498593dfd887";
|
2017-11-15 07:18:08 -08:00
|
|
|
};
|
|
|
|
|
2019-02-15 03:45:17 -08:00
|
|
|
propagatedBuildInputs = [ qtpy six ];
|
|
|
|
|
|
|
|
checkInputs = [ pyqt5 pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Requires https://github.com/boylea/qtbot
|
|
|
|
doCheck = false;
|
2017-11-15 07:18:08 -08:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2017-11-15 07:18:08 -08:00
|
|
|
description = "Iconic fonts in PyQt and PySide applications";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/spyder-ide/qtawesome";
|
2017-11-15 07:18:08 -08:00
|
|
|
license = licenses.mit;
|
2018-11-18 14:49:30 -08:00
|
|
|
platforms = platforms.linux; # fails on Darwin
|
2017-11-15 07:18:08 -08:00
|
|
|
};
|
|
|
|
}
|