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