2019-12-26 09:20:00 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, attrs }:
|
2019-01-21 11:42:36 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohttp-socks";
|
2020-03-25 01:06:18 +00:00
|
|
|
version = "0.3.6";
|
2019-01-21 11:42:36 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "aiohttp_socks";
|
2020-03-25 01:06:18 +00:00
|
|
|
sha256 = "0js7p9qj5x6k8i2cby4c6mw6xrp4dy4m82f3n1l8rz00qibmj37j";
|
2019-01-21 11:42:36 +00:00
|
|
|
};
|
|
|
|
|
2019-12-26 09:20:00 +00:00
|
|
|
propagatedBuildInputs = [ aiohttp attrs ];
|
2019-01-21 11:42:36 +00:00
|
|
|
|
|
|
|
# Checks needs internet access
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.5.3";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SOCKS proxy connector for aiohttp";
|
|
|
|
license = lib.licenses.asl20;
|
2020-03-25 01:06:18 +00:00
|
|
|
homepage = "https://github.com/romis2012/aiohttp-socks";
|
2019-01-21 11:42:36 +00:00
|
|
|
};
|
|
|
|
}
|