2019-02-15 12:45:17 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }:
|
2017-11-15 16:18:08 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "QtAwesome";
|
2019-03-11 22:10:29 +01:00
|
|
|
version = "0.5.7";
|
2017-11-15 16:18:08 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-03-11 22:10:29 +01:00
|
|
|
sha256 = "1c70k7b91f64df0v12ykv3xqj9pzgk919k215fb3y0d64zip42ai";
|
2017-11-15 16:18:08 +01:00
|
|
|
};
|
|
|
|
|
2019-02-15 12:45:17 +01:00
|
|
|
propagatedBuildInputs = [ qtpy six ];
|
|
|
|
|
|
|
|
checkInputs = [ pyqt5 pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Requires https://github.com/boylea/qtbot
|
|
|
|
doCheck = false;
|
2017-11-15 16:18:08 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Iconic fonts in PyQt and PySide applications";
|
|
|
|
homepage = https://github.com/spyder-ide/qtawesome;
|
|
|
|
license = licenses.mit;
|
2018-11-18 23:49:30 +01:00
|
|
|
platforms = platforms.linux; # fails on Darwin
|
2017-11-15 16:18:08 +01:00
|
|
|
};
|
|
|
|
}
|