Unverified Commit 06db1e6a authored by Emil "AngryAnt" Johansen's avatar Emil "AngryAnt" Johansen
Browse files

python3Packages.async-tkinker-loop: init at 0.8.1

parent b575d76c
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -748,6 +748,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 { };