2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "QtAwesome";
|
2020-06-02 18:00:15 +00:00
|
|
|
version = "0.7.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-02 18:00:15 +00:00
|
|
|
sha256 = "ca9719c82d41707f62c340811b23bcab95336e73edd88b7eab7fd951d2e27fab";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ qtpy six ];
|
|
|
|
|
|
|
|
checkInputs = [ pyqt5 pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Requires https://github.com/boylea/qtbot
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Iconic fonts in PyQt and PySide applications";
|
|
|
|
homepage = "https://github.com/spyder-ide/qtawesome";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux; # fails on Darwin
|
|
|
|
};
|
|
|
|
}
|