9 buildPythonPackage rec {
15 src = fetchFromGitHub {
16 owner = "CabbageDevelopment";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-oXzwilhJ1PhodQpOZjnV9gFuoDy/zXWva9LhhK3T00g=";
23 rm qasync/_windows.py # Ignoring it is not taking effect and it will not be used on Linux
26 buildInputs = [ poetry-core ];
28 propagatedBuildInputs = [ pyqt5 ];
30 checkInputs = [ pytestCheckHook ];
32 pythonImportsCheck = [ "qasync" ];
35 "tests/test_qeventloop.py"
39 description = "Allows coroutines to be used in PyQt/PySide applications by providing an implementation of the PEP 3156 event-loop";
40 homepage = "https://github.com/CabbageDevelopment/qasync";
41 license = [ lib.licenses.bsd2 ];
42 maintainers = [ lib.maintainers.lucasew ];