2021-01-15 22:18:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asysocks";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "0.1.1";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "sha256-7EzSALAJcx8BNHX44FeeiSPRcTe9UFHXQ4IoSKxMU8w=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Upstream hasn't release the tests yet
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "asysocks" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python Socks4/5 client and server library";
|
|
|
|
homepage = "https://github.com/skelsec/asysocks";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|