19 buildPythonPackage rec {
24 disabled = pythonOlder "3.8";
26 src = fetchFromGitHub {
29 rev = "refs/tags/${version}";
30 hash = "sha256-SyhPM3NS7iJX8jwTJ4YWZ72eYLn9JT6eESekPf5eCKI=";
33 build-system = [ setuptools ];
51 # RuntimeError: BUG: Dead Listener called, still subscribed!
52 "test_linking_with_i1_device"
55 disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [
56 # Tests are blocking or failing
57 "tests/test_handlers/"
60 pythonImportsCheck = [ "pyinsteon" ];
63 description = "Python library to support Insteon home automation projects";
65 This is a Python package to interface with an Insteon Modem. It has been
66 tested to work with most USB or RS-232 serial based devices such as the
67 2413U, 2412S, 2448A7 and Hub models 2242 and 2245.
69 homepage = "https://github.com/pyinsteon/pyinsteon";
70 changelog = "https://github.com/pyinsteon/pyinsteon/releases/tag/${version}";
71 license = with licenses; [ mit ];
72 maintainers = with maintainers; [ fab ];
73 mainProgram = "insteon_tools";