depot/third_party/nixpkgs/pkgs/development/python-modules/async-tkinter-loop/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

45 lines
1,018 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
python3Packages,
poetry-core,
tkinter,
typing-extensions,
pythonRelaxDepsHook,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "async-tkinter-loop";
version = "0.9.3";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "async_tkinter_loop";
hash = "sha256-UJxBgTmEe8suR6WmttJKLi3KKQvEaNrWtrgCnoqGW/0=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
poetry-core
];
propagatedBuildInputs = [
tkinter
typing-extensions
];
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 ];
};
}