9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
46 lines
977 B
Nix
46 lines
977 B
Nix
{ 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 ];
|
|
};
|
|
}
|