blob: 6bc07621c7d809a811d4e707d0e15a26d3c9565f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
pythonAtLeast,
fetchPypi,
pyqt5,
twisted,
pytest-twisted,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "qt5reactor";
version = "0.6.3";
format = "setuptools";
# AttributeError: module 'configparser' has no attribute 'SafeConfigParser'
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
sha256 = "c3470a8a25d9a339f9ca6243502a9b2277f181d772b7acbff551d5bc363b7572";
};
propagatedBuildInputs = [
pyqt5
twisted
];
nativeCheckInputs = [
pytest-twisted
pytestCheckHook
];
pythonImportsCheck = [ "qt5reactor" ];
meta = {
description = "Twisted Qt Integration";
homepage = "https://github.com/twisted/qt5reactor";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|