2019-12-26 09:20:00 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, attrs }:
|
2019-01-21 11:42:36 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohttp-socks";
|
2019-12-26 09:20:00 +00:00
|
|
|
version = "0.3.3";
|
2019-01-21 11:42:36 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "aiohttp_socks";
|
2019-12-26 09:20:00 +00:00
|
|
|
sha256 = "21974ce5d782c426ddbf7bdfc5e602a38783b1ee839a4a0ed0990240e2e123b5";
|
2019-01-21 11:42:36 +00:00
|
|
|
};
|
|
|
|
|
2019-12-26 09:20:00 +00:00
|
|
|
propagatedBuildInputs = [ aiohttp attrs ];
|
2019-01-21 11:42:36 +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;
|
|
|
|
};
|
|
|
|
}
|