2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, attrs }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohttp-socks";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "0.3.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "aiohttp_socks";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "1mn2ng66951mri49f99zh3660j83kvqhr6dpx90s9fkjwk83hmjy";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp attrs ];
|
|
|
|
|
|
|
|
# Checks needs internet access
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.5.3";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SOCKS proxy connector for aiohttp";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
homepage = "https://github.com/romis2012/aiohttp-socks";
|
|
|
|
};
|
|
|
|
}
|