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