Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / async-tkinter-loop / default.nix
blobd376ec154263c1bb2d7cde8b6b0c11c6fab15345
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , python3Packages
5 , poetry-core
6 , tkinter
7 , pythonRelaxDepsHook
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "async-tkinter-loop";
13   version = "0.9.2";
14   format = "pyproject";
16   src = fetchPypi {
17     inherit version;
18     pname = "async_tkinter_loop";
19     hash = "sha256-YwmW+zXAx9TAxgoRLEr7/3o1rrO4eSNScuoTh3ud2Vo=";
20   };
22   nativeBuildInputs = [
23     pythonRelaxDepsHook
24     poetry-core
25   ];
27   propagatedBuildInputs = [
28     tkinter
29   ];
31   pythonRemoveDeps = [
32     "asyncio"
33   ];
35   pythonImportsCheck = [
36     "async_tkinter_loop"
37   ];
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   };