mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
30 lines
676 B
Nix
30 lines
676 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "QtAwesome";
|
|
version = "0.7.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1k9nn6z8lhaznas509h9cjy434haggz2n1mhs29bycmds716k7j8";
|
|
};
|
|
|
|
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
|
|
};
|
|
}
|