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