2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python3Packages
|
|
|
|
, poetry-core
|
|
|
|
, tkinter
|
2024-02-29 20:09:43 +00:00
|
|
|
, typing-extensions
|
2023-07-15 17:15:38 +00:00
|
|
|
, pythonRelaxDepsHook
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "async-tkinter-loop";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.9.3";
|
2023-07-15 17:15:38 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "async_tkinter_loop";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-UJxBgTmEe8suR6WmttJKLi3KKQvEaNrWtrgCnoqGW/0=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pythonRelaxDepsHook
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tkinter
|
2024-02-29 20:09:43 +00:00
|
|
|
typing-extensions
|
2023-07-15 17:15:38 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonRemoveDeps = [
|
|
|
|
"asyncio"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"async_tkinter_loop"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Implementation of asynchronous mainloop for tkinter, the use of which allows using async handler functions";
|
|
|
|
homepage = "https://github.com/insolor/async-tkinter-loop";
|
|
|
|
changelog = "https://github.com/insolor/async-tkinter-loop/releases/tag/${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ AngryAnt ];
|
|
|
|
};
|
|
|
|
}
|