2019-01-21 11:42:36 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohttp-socks";
|
2019-12-24 06:49:28 +00:00
|
|
|
version = "0.3.2";
|
2019-01-21 11:42:36 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "aiohttp_socks";
|
2019-12-24 06:49:28 +00:00
|
|
|
sha256 = "0sp6yrz8dnwnl89ip3fm2qlflpr7q2adpfhi8jd2pc9gaixzx6hd";
|
2019-01-21 11:42:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
}
|