1{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp }:
2
3buildPythonPackage rec {
4 pname = "aiohttp-socks";
5 version = "0.2.2";
6
7 src = fetchPypi {
8 inherit version;
9 pname = "aiohttp_socks";
10 sha256 = "0473702jk66xrgpm28wbdgpnak4v0dh2qmdjw7ky7hf3lwwqkggf";
11 };
12
13 propagatedBuildInputs = [ aiohttp ];
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}