1{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, python-socks, attrs }:
2
3buildPythonPackage rec {
4 pname = "aiohttp-socks";
5 version = "0.6.0";
6
7 src = fetchPypi {
8 inherit version;
9 pname = "aiohttp_socks";
10 sha256 = "04w010bvi719ifpc3sshav95k10hf9nq8czn9yglkj206yxcypdr";
11 };
12
13 propagatedBuildInputs = [ aiohttp attrs python-socks ];
14
15 # Checks needs internet access
16 doCheck = false;
17
18 disabled = pythonOlder "3.5.3";
19
20 meta = {
21 description = "SOCKS proxy connector for aiohttp";
22 license = lib.licenses.asl20;
23 homepage = "https://github.com/romis2012/aiohttp-socks";
24 };
25}