Merge pull request #302941 from fabaff/meshtastic-bump

python312Packages.meshtastic: 2.3.3 -> 2.3.4
This commit is contained in:
Fabian Affolter 2024-04-10 08:43:34 +02:00 committed by GitHub
commit 35fb98d696
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,27 +1,28 @@
{ lib {
, bleak lib,
, buildPythonPackage bleak,
, dotmap buildPythonPackage,
, fetchFromGitHub dotmap,
, pexpect fetchFromGitHub,
, protobuf pexpect,
, pygatt protobuf,
, pypubsub pygatt,
, pyqrcode pypubsub,
, pyserial pyqrcode,
, pytap2 pyserial,
, pytestCheckHook pytap2,
, pythonOlder pytestCheckHook,
, pyyaml pythonOlder,
, requests pyyaml,
, setuptools requests,
, tabulate setuptools,
, timeago tabulate,
timeago,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "meshtastic"; pname = "meshtastic";
version = "2.3.3"; version = "2.3.4";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -30,12 +31,10 @@ buildPythonPackage rec {
owner = "meshtastic"; owner = "meshtastic";
repo = "Meshtastic-python"; repo = "Meshtastic-python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-kydZgOiQHDovQ5RwyLru2nyHoCEVZClq8wJit/mnbvU="; hash = "sha256-WxiddF1n9lyxKkZk1MU40NzLh6goLVs81mbJZ3F33R8=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
bleak bleak
@ -54,9 +53,7 @@ buildPythonPackage rec {
]; ];
passthru.optional-dependencies = { passthru.optional-dependencies = {
tunnel = [ tunnel = [ pytap2 ];
pytap2
];
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -68,19 +65,21 @@ buildPythonPackage rec {
export PATH="$PATH:$out/bin"; export PATH="$PATH:$out/bin";
''; '';
pythonImportsCheck = [ pythonImportsCheck = [ "meshtastic" ];
"meshtastic"
];
disabledTests = [ disabledTests = [
# TypeError # TypeError
"test_main_info"
"test_main_support"
"test_main_info_with_tcp_interfa"
"test_main_no_proto"
"test_main_info_with_seriallog_stdout"
"test_main_info_with_seriallog_output_txt" "test_main_info_with_seriallog_output_txt"
"test_main_info_with_seriallog_stdout"
"test_main_info_with_tcp_interfa"
"test_main_info"
"test_main_no_proto"
"test_main_support"
"test_MeshInterface"
"test_message_to_json_shows_all"
"test_SerialInterface_single_port"
"test_support_info" "test_support_info"
"test_TCPInterface"
]; ];
meta = with lib; { meta = with lib; {