mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
Merge pull request #235802 from AngryAnt/async-tkinker-loop/init
This commit is contained in:
commit
84f8da3d35
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user