15 buildPythonPackage rec {
20 disabled = pythonOlder "3.10";
22 src = fetchFromGitHub {
26 hash = "sha256-kpGT1UcpKL8LJvFkw3RYZcbXcLla95QB4exG7kA8+BQ=";
29 build-system = [ setuptools ];
34 ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
42 pythonImportsCheck = [ "xknx" ];
45 # Test requires network access
47 "test_start_secure_routing_knx_keys"
48 "test_start_secure_routing_manual"
49 # RuntimeError: Event loop is closed
50 "test_has_group_address_localtime"
51 "test_invalid_authentication"
53 "test_no_authentication"
54 "test_process_read_localtime"
57 "test_sync_time_local"
61 description = "KNX Library Written in Python";
63 XKNX is an asynchronous Python library for reading and writing KNX/IP
64 packets. It provides support for KNX/IP routing and tunneling devices.
66 homepage = "https://github.com/XKNX/xknx";
67 changelog = "https://github.com/XKNX/xknx/releases/tag/${version}";
68 license = with licenses; [ mit ];
69 maintainers = with maintainers; [ fab ];
70 platforms = platforms.linux;