python.pkgs.qtawesome: fix build

This commit is contained in:
Frederik Rietdijk 2019-02-15 12:45:17 +01:00
parent 04f051d79f
commit 993bad1695

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, qtpy, six, pyside }:
{ stdenv, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }:
buildPythonPackage rec {
pname = "QtAwesome";
@ -9,7 +9,16 @@ buildPythonPackage rec {
sha256 = "0f6dvqmalzi4q4rrpl1xlrxanibam1nifzsgqb5z4jr4ap7kiyp3";
};
propagatedBuildInputs = [ qtpy six pyside ];
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";