mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +03:00
python3Packages.async-tkinker-loop: init at 0.8.1
This commit is contained in:
parent
b575d76ce1
commit
06db1e6aeb
2 changed files with 48 additions and 0 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue