nixpkgs-suyu/pkgs/development/python-modules/qtawesome/default.nix
R. RyanTM 0ecba52872 python37Packages.qtawesome: 0.5.7 -> 0.6.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-qtawesome/versions
2019-08-06 15:46:14 +09:00

29 lines
676 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }:
buildPythonPackage rec {
pname = "QtAwesome";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "05qypwlzjkw31x7qgn01d4kcf40mbymg5c9h3i7cx2r8sw29akjy";
};
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
};
}