17 buildPythonPackage rec {
22 disabled = pythonOlder "3.11";
24 src = fetchFromGitHub {
25 owner = "swan-solutions";
26 repo = "knocki-homeassistant";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-Eh/ykTbR2NMZ9Mjgcc53OU3+2EsX6FWV93DmwCDvsRg=";
32 substituteInPlace pyproject.toml \
33 --replace-fail "addopts = \"--cov\"" ""
36 build-system = [ poetry-core ];
52 pythonImportsCheck = [ "knocki" ];
55 description = "Asynchronous Python client for Knocki vibration / door sensors";
56 homepage = "https://github.com/swan-solutions/knocki-homeassistant";
57 changelog = "https://github.com/swan-solutions/knocki-homeassistant/releases/tag/v${version}";
58 license = licenses.mit;
59 maintainers = with maintainers; [ mindstorms6 ];