python3Packages.python-socks: 2.0.3 -> 2.1.1

This commit is contained in:
Martin Weinelt
2023-01-05 01:10:25 +01:00
parent 3e2e47e2f7
commit 1e9beb3ead
@@ -3,29 +3,31 @@
, buildPythonPackage
, curio
, fetchFromGitHub
, anyio
, flask
, pytest-asyncio
, pytest-trio
, pythonOlder
, pytestCheckHook
, trio
, trustme
, yarl
}:
buildPythonPackage rec {
pname = "python-socks";
version = "2.0.3";
version = "2.1.1";
format = "setuptools";
disabled = pythonOlder "3.6.1";
disabled = pythonOlder "3.6.2";
__darwinAllowLocalNetworking = true;
src = fetchFromGitHub {
owner = "romis2012";
repo = pname;
rev = "v${version}";
sha256 = "sha256-tVoBon9HF9MTOK+dN9g58fQO706ElNlCeULx//7hPWA=";
repo = "python-socks";
rev = "refs/tags/v${version}";
hash = "sha256-QvUuCS8B/6+dgzWrflizLfNlAUeOPpUPtmFaE6LGYGc=";
};
propagatedBuildInputs = [
@@ -34,11 +36,15 @@ buildPythonPackage rec {
async-timeout
];
doCheck = false; # requires tiny_proxy module
checkInputs = [
anyio
flask
pytest-asyncio
pytest-trio
pytestCheckHook
trustme
yarl
];
@@ -47,6 +53,7 @@ buildPythonPackage rec {
];
meta = with lib; {
changelog = "https://github.com/romis2012/python-socks/releases/tag/v${version}";
description = "Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python";
homepage = "https://github.com/romis2012/python-socks";
license = licenses.asl20;