1{ lib
2, buildPythonPackage
3, fetchPypi
4, python3Packages
5, poetry-core
6, tkinter
7, pythonRelaxDepsHook
8, pytestCheckHook
9}:
10
11buildPythonPackage rec {
12 pname = "async-tkinter-loop";
13 version = "0.9.2";
14 format = "pyproject";
15
16 src = fetchPypi {
17 inherit version;
18 pname = "async_tkinter_loop";
19 hash = "sha256-YwmW+zXAx9TAxgoRLEr7/3o1rrO4eSNScuoTh3ud2Vo=";
20 };
21
22 nativeBuildInputs = [
23 pythonRelaxDepsHook
24 poetry-core
25 ];
26
27 propagatedBuildInputs = [
28 tkinter
29 ];
30
31 pythonRemoveDeps = [
32 "asyncio"
33 ];
34
35 pythonImportsCheck = [
36 "async_tkinter_loop"
37 ];
38
39 meta = with lib; {
40 description = "Implementation of asynchronous mainloop for tkinter, the use of which allows using async handler functions";
41 homepage = "https://github.com/insolor/async-tkinter-loop";
42 changelog = "https://github.com/insolor/async-tkinter-loop/releases/tag/${version}";
43 license = licenses.mit;
44 maintainers = with maintainers; [ AngryAnt ];
45 };
46}