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