python3Packages.socksio: init at 1.0.0

https://github.com/sethmlarson/socksio/blob/master/CHANGELOG.md\#100-2020-04-17
This commit is contained in:
Martin Weinelt 2022-03-03 16:11:19 +01:00
parent a6118e1395
commit deda5e4c21
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonAtLeast
, flit-core
, pytestCheckHook
}:
let
pname = "socksio";
version = "1.0.0";
in
buildPythonPackage {
inherit pname version;
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-+IvrPaW1w4uYkEad5n0MsPnUlLeLEGyhhF+WwQuRxKw=";
};
nativeBuildInputs = [
flit-core
];
# remove coverage configuration
preCheck = ''
rm pytest.ini
'';
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5";
homepage = "https://github.com/sethmlarson/socksio";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -9311,6 +9311,8 @@ in {
sockjs-tornado = callPackage ../development/python-modules/sockjs-tornado { };
socksio = callPackage ../development/python-modules/socksio { };
socksipy-branch = callPackage ../development/python-modules/socksipy-branch { };
soco = callPackage ../development/python-modules/soco { };