Unverified Commit 35fb98d6 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #302941 from fabaff/meshtastic-bump

python312Packages.meshtastic: 2.3.3 -> 2.3.4
parents 1b0c32b4 bdac7169
Loading
Loading
Loading
Loading
+33 −34
Original line number Diff line number Diff line
{ 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_seriallog_output_txt"
    "test_main_info_with_seriallog_stdout"
    "test_main_info_with_tcp_interfa"
    "test_main_info"
    "test_main_no_proto"
    "test_main_info_with_seriallog_stdout"
    "test_main_info_with_seriallog_output_txt"
    "test_main_support"
    "test_MeshInterface"
    "test_message_to_json_shows_all"
    "test_SerialInterface_single_port"
    "test_support_info"
    "test_TCPInterface"
  ];

  meta = with lib; {