python3Packages.qreactor: init at 2018-09-29

This commit is contained in:
Arnout Engelen 2020-07-14 08:24:41 +02:00 committed by Jon
parent 002077c0a6
commit 481e804309
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, twisted
, qtpy
, pyqt5
}:
buildPythonPackage rec {
pname = "qreactor-unstable";
version = "2018-09-29";
src = fetchFromGitHub {
owner = "frmdstryr";
repo = "qt-reactor";
rev = "364b3f561fb0d4d3938404d869baa4db7a982bf0";
sha256 = "1nb5iwg0nfz86shw28a2kj5pyhd4jvvxhf73fhnfbl8scgnvjv9h";
};
disabled = pythonOlder "3.0";
propagatedBuildInputs = [
twisted qtpy
];
checkInputs = [
pyqt5
];
pythonImportsCheck = [
"qreactor"
];
meta = with lib; {
homepage = "https://github.com/frmdstryr/qt-reactor";
description = "Twisted and PyQt5/qtpy eventloop integration base";
license = licenses.mit;
maintainers = with maintainers; [ raboof ];
};
}

View file

@ -5873,6 +5873,8 @@ in {
qtpy = callPackage ../development/python-modules/qtpy { };
qreactor = callPackage ../development/python-modules/qreactor { };
quantities = callPackage ../development/python-modules/quantities { };
qutip = callPackage ../development/python-modules/qutip { };