Merge pull request #235802 from AngryAnt/async-tkinker-loop/init

This commit is contained in:
Sandro 2023-06-22 11:50:28 +02:00 committed by GitHub
commit 84f8da3d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchPypi
, python3Packages
, poetry-core
, tkinter
, pythonRelaxDepsHook
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "async-tkinter-loop";
version = "0.8.1";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "async_tkinter_loop";
hash = "sha256-+9AvnYIZMWCbpCEKdbIadyU8zgyUlW/fRYYyDOxAzeg=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
poetry-core
];
propagatedBuildInputs = [
tkinter
];
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 ];
};
}

View File

@ -750,6 +750,8 @@ self: super: with self; {
async-timeout = callPackage ../development/python-modules/async_timeout { };
async-tkinter-loop = callPackage ../development/python-modules/async-tkinter-loop { };
asyncua = callPackage ../development/python-modules/asyncua { };
async-upnp-client = callPackage ../development/python-modules/async-upnp-client { };