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-Fb3skFttY5gtm80k1LCUQ4Z7/TQGClCNcWt1k6bLQoI=";
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 license = licenses.mit;
58 maintainers = with maintainers; [ mindstorms6 ];