Commit 3ff8c332 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.snitun: format with nixfmt

parent 8bf3203e
Loading
Loading
Loading
Loading
+46 −44
Original line number Diff line number Diff line
{ lib
, stdenv
, aiohttp
, async-timeout
, attrs
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytest-aiohttp
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, setuptools
{
  lib,
  stdenv,
  aiohttp,
  async-timeout,
  attrs,
  buildPythonPackage,
  cryptography,
  fetchFromGitHub,
  pytest-aiohttp,
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
@@ -27,9 +28,7 @@ buildPythonPackage rec {
    hash = "sha256-jewDQqvLUh/066BSEADXkCvjLFRnodKtUPKfvi0KUpI=";
  };

  build-system = [
    setuptools
  ];
  build-system = [ setuptools ];

  dependencies = [
    aiohttp
@@ -43,17 +42,20 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  disabledTests = [
  disabledTests =
    [
      # AssertionError: Expected 'fileno' to not have been called. Called 1 times.
      "test_client_stop_no_wait"
  ] ++ lib.optionals stdenv.isDarwin [
    ]
    ++ lib.optionals stdenv.isDarwin [
      "test_multiplexer_data_channel_abort_full" # https://github.com/NabuCasa/snitun/issues/61
      # port binding conflicts
      "test_snitun_single_runner_timeout"
      "test_snitun_single_runner_throttling"
      # ConnectionResetError: [Errno 54] Connection reset by peer
      "test_peer_listener_timeout"
  ] ++ lib.optionals (pythonAtLeast "3.12") [
    ]
    ++ lib.optionals (pythonAtLeast "3.12") [
      # blocking
      "test_flow_client_peer"
      "test_close_client_peer"