Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ aiohttp, aioresponses, lib, buildPythonPackage, fetchFromGitHub, mashumaro, orjson, poetry-core, pyprojectVersionPatchHook, pytestCheckHook, pytest-aiohttp, pytest-cov-stub, syrupy, yarl,}:
buildPythonPackage rec { pname = "knocki"; version = "0.4.2"; pyproject = true;
src = fetchFromGitHub { owner = "swan-solutions"; repo = "knocki-homeassistant"; tag = "v${version}"; hash = "sha256-85w+fj00VW0miNt+xRMcU6szg/Z7QaeKLGw2BV7X0T4="; };
build-system = [ poetry-core ];
nativeBuildInputs = [ pyprojectVersionPatchHook ];
dependencies = [ aiohttp mashumaro orjson yarl ];
nativeCheckInputs = [ aioresponses pytestCheckHook pytest-aiohttp pytest-cov-stub syrupy ];
pythonImportsCheck = [ "knocki" ];
meta = { description = "Asynchronous Python client for Knocki vibration / door sensors"; homepage = "https://github.com/swan-solutions/knocki-homeassistant"; changelog = "https://github.com/swan-solutions/knocki-homeassistant/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mindstorms6 ]; };}