1{ lib, buildPythonPackage, trio, curio, async-timeout, fetchPypi, pythonOlder }:
2
3buildPythonPackage rec {
4 pname = "python-socks";
5 version = "1.2.4";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx";
10 };
11
12 disabled = pythonOlder "3.6.1";
13
14 propagatedBuildInputs = [ trio curio async-timeout ];
15
16 meta = with lib; {
17 description = "Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python";
18 homepage = "https://github.com/romis2012/python-socks";
19 license = licenses.asl20;
20 maintainers = with maintainers; [ mjlbach ];
21 };
22}