at master 864 B view raw
1{ 2 lib, 3 asn1crypto, 4 buildPythonPackage, 5 cryptography, 6 fetchPypi, 7 h11, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "asysocks"; 14 version = "0.2.17"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-r6F7Sel8D3noBQE8fDYQ5k9NzIFOmUWT+1CGrWVCWTw="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 asn1crypto 28 cryptography 29 h11 30 ]; 31 32 # Upstream hasn't release the tests yet 33 doCheck = false; 34 35 pythonImportsCheck = [ "asysocks" ]; 36 37 meta = with lib; { 38 description = "Python Socks4/5 client and server library"; 39 homepage = "https://github.com/skelsec/asysocks"; 40 changelog = "https://github.com/skelsec/asysocks/releases/tag/${version}"; 41 license = with licenses; [ mit ]; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}