2021-05-20 23:08:51 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, python-socks, attrs }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohttp-socks";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "0.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "aiohttp_socks";
|
2021-05-20 23:08:51 +00:00
|
|
|
sha256 = "04w010bvi719ifpc3sshav95k10hf9nq8czn9yglkj206yxcypdr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
propagatedBuildInputs = [ aiohttp attrs python-socks ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# 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";
|
|
|
|
};
|
|
|
|
}
|