{ lib, bleak, bleak-retry-connector, buildPythonPackage, fetchFromGitHub, pytest-mock, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "fjaraskupan"; version = "2.3.3"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "elupus"; repo = "fjaraskupan"; tag = version; hash = "sha256-xu5u3hvtD1gbN1f1UuxDQVIHF5pyCOWVwUq36vAgW/Y="; }; build-system = [ setuptools ]; dependencies = [ bleak bleak-retry-connector ]; nativeCheckInputs = [ pytest-mock pytestCheckHook ]; pythonImportsCheck = [ "fjaraskupan" ]; meta = with lib; { description = "Module for controlling Fjäråskupan kitchen fans"; homepage = "https://github.com/elupus/fjaraskupan"; changelog = "https://github.com/elupus/fjaraskupan/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }