5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
26 lines
659 B
Nix
26 lines
659 B
Nix
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, python-socks, attrs }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiohttp-socks";
|
|
version = "0.8.1";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "aiohttp_socks";
|
|
hash = "sha256-duWEJDS5Ts3EWNRZ8MJcD7buMh3FRKA+bJiO3P7QWz0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ aiohttp attrs python-socks ];
|
|
|
|
# Checks needs internet access
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "aiohttp_socks" ];
|
|
|
|
disabled = pythonOlder "3.5.3";
|
|
|
|
meta = {
|
|
description = "SOCKS proxy connector for aiohttp";
|
|
license = lib.licenses.asl20;
|
|
homepage = "https://github.com/romis2012/aiohttp-socks";
|
|
};
|
|
}
|