2021-05-20 23:08:51 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, python-socks, attrs }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohttp-socks";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.8.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "aiohttp_socks";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-aqtSj2aeCHMBj9N3c7gzouK6KEJDvmcoF/pAG8eUHsY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
propagatedBuildInputs = [ aiohttp attrs python-socks ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Checks needs internet access
|
|
|
|
doCheck = false;
|
2022-01-03 16:56:52 +00:00
|
|
|
pythonImportsCheck = [ "aiohttp_socks" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.5.3";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SOCKS proxy connector for aiohttp";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
homepage = "https://github.com/romis2012/aiohttp-socks";
|
|
|
|
};
|
|
|
|
}
|