18 buildPythonPackage rec {
23 disabled = pythonOlder "3.8";
25 src = fetchFromGitHub {
28 rev = "refs/tags/${version}";
29 hash = "sha256-9d6QbekUv63sjKdK+ZogYOkGfFXVW+JB6ITHnehLwtM=";
51 disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [
52 # Tests are blocking or failing
53 "tests/test_handlers/"
56 pythonImportsCheck = [
61 description = "Python library to support Insteon home automation projects";
63 This is a Python package to interface with an Insteon Modem. It has been
64 tested to work with most USB or RS-232 serial based devices such as the
65 2413U, 2412S, 2448A7 and Hub models 2242 and 2245.
67 homepage = "https://github.com/pyinsteon/pyinsteon";
68 changelog = "https://github.com/pyinsteon/pyinsteon/releases/tag/${version}";
69 license = with licenses; [ mit ];
70 maintainers = with maintainers; [ fab ];
71 mainProgram = "insteon_tools";