mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
ea9375d3d8
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
30 lines
676 B
Nix
30 lines
676 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "QtAwesome";
|
|
version = "0.5.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1c70k7b91f64df0v12ykv3xqj9pzgk919k215fb3y0d64zip42ai";
|
|
};
|
|
|
|
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
|
|
};
|
|
}
|