blob: 6b96d06ea482b8e85d65b4943583c0d8bc1b1b6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
# build-system
, setuptools
# dependencies
, aiohttp
, attrs
, python-socks
}:
buildPythonPackage rec {
pname = "aiohttp-socks";
version = "0.8.4";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit version;
pname = "aiohttp_socks";
hash = "sha256-a2EdTOg46c8sL+1eDbpEfMhIJKbLqV3FdHYGIB2kbLQ=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
attrs
python-socks
];
# Checks needs internet access
doCheck = false;
pythonImportsCheck = [
"aiohttp_socks"
];
meta = {
description = "SOCKS proxy connector for aiohttp";
license = lib.licenses.asl20;
homepage = "https://github.com/romis2012/aiohttp-socks";
};
}
|