1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pyqt5,
6 twisted,
7 pytest-twisted,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "qt5reactor";
13 version = "0.6.3";
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "c3470a8a25d9a339f9ca6243502a9b2277f181d772b7acbff551d5bc363b7572";
19 };
20
21 propagatedBuildInputs = [
22 pyqt5
23 twisted
24 ];
25
26 nativeCheckInputs = [
27 pytest-twisted
28 pytestCheckHook
29 ];
30
31 pythonImportsCheck = [ "qt5reactor" ];
32
33 meta = with lib; {
34 description = "Twisted Qt Integration";
35 homepage = "https://github.com/twisted/qt5reactor";
36 license = licenses.mit;
37 maintainers = with maintainers; [ dotlambda ];
38 };
39}