depot/third_party/nixpkgs/pkgs/development/python-modules/aiohttp-socks/default.nix
Default email 66604c92c1 Project import generated by Copybara.
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
2020-05-15 23:57:56 +02:00

25 lines
591 B
Nix

{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, attrs }:
buildPythonPackage rec {
pname = "aiohttp-socks";
version = "0.3.9";
src = fetchPypi {
inherit version;
pname = "aiohttp_socks";
sha256 = "1mn2ng66951mri49f99zh3660j83kvqhr6dpx90s9fkjwk83hmjy";
};
propagatedBuildInputs = [ aiohttp attrs ];
# 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";
};
}