ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
25 lines
623 B
Nix
25 lines
623 B
Nix
{ lib, buildPythonPackage, fetchPypi, pyside, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "QtPy";
|
|
version = "1.11.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d6e4ae3a41f1fcb19762b58f35ad6dd443b4bdc867a4cb81ef10ccd85403c92b";
|
|
};
|
|
|
|
# no concrete propagatedBuildInputs as multiple backends are supposed
|
|
checkInputs = [ pyside pytest ];
|
|
|
|
doCheck = false; # require X
|
|
checkPhase = ''
|
|
py.test qtpy/tests
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Abstraction layer for PyQt5/PyQt4/PySide2/PySide";
|
|
homepage = "https://github.com/spyder-ide/qtpy";
|
|
license = licenses.mit;
|
|
};
|
|
}
|