3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.snitun: 0.21.0 -> 0.27.0

This commit is contained in:
Fabian Affolter 2021-06-12 22:58:18 +02:00
parent 96af64292a
commit 82d99d388a

View file

@ -1,21 +1,35 @@
{ lib, stdenv, buildPythonPackage, python, fetchFromGitHub
, attrs, cryptography, async-timeout, pytest-aiohttp, pytestCheckHook
{ lib
, stdenv
, async-timeout
, attrs
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytest-aiohttp
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "snitun";
version = "0.21.0";
version = "0.27.0";
src = fetchFromGitHub {
owner = "NabuCasa";
repo = pname;
rev = version;
sha256 = "sha256-oZHi/H9HOqGTFuhqPSZXntMzVJ3ZT4zNejezo0cDtqg=";
sha256 = "sha256-vx9F+Nat69Yadd+YpsnBCstnxCEICFJI14TdG6PvstI=";
};
propagatedBuildInputs = [ attrs cryptography async-timeout ];
propagatedBuildInputs = [
async-timeout
attrs
cryptography
];
checkInputs = [ pytestCheckHook pytest-aiohttp ];
checkInputs = [
pytest-aiohttp
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [
"test_multiplexer_data_channel_abort_full" # https://github.com/NabuCasa/snitun/issues/61
@ -26,10 +40,13 @@ buildPythonPackage rec {
"test_peer_listener_timeout"
];
pythonImportsCheck = [ "snitun" ];
meta = with lib; {
homepage = "https://github.com/nabucasa/snitun";
description = "SNI proxy with TCP multiplexer";
license = licenses.gpl3;
license = licenses.gpl3Only;
maintainers = with maintainers; [ Scriptkiddi ];
platforms = platforms.linux;
};
}