5 dash-bootstrap-components,
34 buildPythonPackage rec {
39 disabled = pythonOlder "3.7";
41 src = fetchFromGitHub {
43 repo = "Meshtastic-python";
44 rev = "refs/tags/${version}";
45 hash = "sha256-A1C+xkQFjoEMKyz9S7T/GzZYrcznpi/9yjBmue1Ahu4=";
53 build-system = [ poetry-core ];
78 optional-dependencies = {
83 dash-bootstrap-components
87 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
90 export PATH="$PATH:$out/bin";
93 pythonImportsCheck = [ "meshtastic" ];
96 # Circular import with dash-bootstrap-components
97 "meshtastic/tests/test_analysis.py"
102 "test_main_info_with_seriallog_output_txt"
103 "test_main_info_with_seriallog_stdout"
104 "test_main_info_with_tcp_interfa"
109 "test_message_to_json_shows_all"
111 "test_SerialInterface_single_port"
117 description = "Python API for talking to Meshtastic devices";
118 homepage = "https://github.com/meshtastic/Meshtastic-python";
119 changelog = "https://github.com/meshtastic/python/releases/tag/${version}";
120 license = with licenses; [ asl20 ];
121 maintainers = with maintainers; [ fab ];