1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 twisted,
6 qtpy,
7 pyqt5,
8}:
9
10buildPythonPackage {
11 pname = "qreactor-unstable";
12 version = "0.6.1";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "frmdstryr";
17 repo = "qt-reactor";
18 rev = "364b3f561fb0d4d3938404d869baa4db7a982bf0";
19 sha256 = "1nb5iwg0nfz86shw28a2kj5pyhd4jvvxhf73fhnfbl8scgnvjv9h";
20 };
21
22 propagatedBuildInputs = [
23 twisted
24 qtpy
25 ];
26
27 nativeCheckInputs = [ pyqt5 ];
28
29 pythonImportsCheck = [ "qreactor" ];
30
31 meta = with lib; {
32 homepage = "https://github.com/frmdstryr/qt-reactor";
33 description = "Twisted and PyQt5/qtpy eventloop integration base";
34 license = licenses.mit;
35 maintainers = with maintainers; [ raboof ];
36 };
37}