Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 25 lines 591 B view raw
1{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, attrs }: 2 3buildPythonPackage rec { 4 pname = "aiohttp-socks"; 5 version = "0.3.9"; 6 7 src = fetchPypi { 8 inherit version; 9 pname = "aiohttp_socks"; 10 sha256 = "1mn2ng66951mri49f99zh3660j83kvqhr6dpx90s9fkjwk83hmjy"; 11 }; 12 13 propagatedBuildInputs = [ aiohttp attrs ]; 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}