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
, buildPythonPackage
, dotmap
, fetchFromGitHub
, pexpect
, protobuf
, pygatt
, pypubsub
, pyqrcode
, pyserial
, pytap2
, pytestCheckHook
, pythonOlder
, pyyaml
, requests
, setuptools
, tabulate
, timeago
{
lib,
bleak,
buildPythonPackage,
dotmap,
fetchFromGitHub,
pexpect,
protobuf,
pygatt,
pypubsub,
pyqrcode,
pyserial,
pytap2,
pytestCheckHook,
pythonOlder,
pyyaml,
requests,
setuptools,
tabulate,
timeago,
}:
buildPythonPackage rec {
pname = "meshtastic";
version = "2.3.3";
version = "2.3.4";
pyproject = true;
disabled = pythonOlder "3.7";
@ -30,12 +31,10 @@ buildPythonPackage rec {
owner = "meshtastic";
repo = "Meshtastic-python";
rev = "refs/tags/${version}";
hash = "sha256-kydZgOiQHDovQ5RwyLru2nyHoCEVZClq8wJit/mnbvU=";
hash = "sha256-WxiddF1n9lyxKkZk1MU40NzLh6goLVs81mbJZ3F33R8=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
bleak
@ -54,9 +53,7 @@ buildPythonPackage rec {
];
passthru.optional-dependencies = {
tunnel = [
pytap2
];
tunnel = [ pytap2 ];
};
nativeCheckInputs = [
@ -68,19 +65,21 @@ buildPythonPackage rec {
export PATH="$PATH:$out/bin";
'';
pythonImportsCheck = [
"meshtastic"
];
pythonImportsCheck = [ "meshtastic" ];
disabledTests = [
# 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_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_TCPInterface"
];
meta = with lib; {