python3Packages.siosocks: init at 0.2.0

This commit is contained in:
Fabian Affolter
2021-12-27 21:40:17 -08:00
committed by Jonathan Ringer
parent 5812e40d40
commit 0d6ca098f8
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest-asyncio
, pytest-trio
, pytestCheckHook
, pythonOlder
, trio
}:
buildPythonPackage rec {
pname = "siosocks";
version = "0.2.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-k2+qTtxkF0rT5LLPW8icePbf9jNopdo9uDp3NPA9SRo=";
};
propagatedBuildInputs = [
trio
];
checkInputs = [
pytest-asyncio
pytestCheckHook
pytest-trio
];
pythonImportsCheck = [
"siosocks"
];
meta = with lib; {
description = "Python socks 4/5 client/server library/framework";
homepage = "https://github.com/pohmelie/siosocks";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -8893,6 +8893,8 @@ in {
signify = callPackage ../development/python-modules/signify { };
siosocks = callPackage ../development/python-modules/siosocks { };
sip = callPackage ../development/python-modules/sip { };
sip_4 = callPackage ../development/python-modules/sip/4.x.nix { };