mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
30 lines
680 B
Nix
30 lines
680 B
Nix
{ lib, buildPythonPackage, fetchPypi, qtpy, six, pyqt5, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "QtAwesome";
|
|
version = "1.0.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "771dd95ac4f50d647d18b4e892fd310a580b56d258476554c7b3498593dfd887";
|
|
};
|
|
|
|
propagatedBuildInputs = [ qtpy six ];
|
|
|
|
checkInputs = [ pyqt5 pytest ];
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
# Requires https://github.com/boylea/qtbot
|
|
doCheck = false;
|
|
|
|
meta = with 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
|
|
};
|
|
}
|