1{ stdenv, buildPythonPackage, fetchPypi, pythonOlder 2, cryptography 3, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl }: 4 5buildPythonPackage rec { 6 pname = "asyncssh"; 7 version = "1.13.3"; 8 disabled = pythonOlder "3.4"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "eb5b190badc5cd2a506a1b6ced3e92f948166974eef7d1abab61acc67aa379e6"; 13 }; 14 15 propagatedBuildInputs = [ 16 bcrypt 17 cryptography 18 gssapi 19 libnacl 20 libsodium 21 nettle 22 pyopenssl 23 ]; 24 25 # Disables windows specific test (specifically the GSSAPI wrapper for Windows) 26 postPatch = '' 27 rm ./tests/sspi_stub.py 28 ''; 29 30 meta = with stdenv.lib; { 31 description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework"; 32 homepage = https://pypi.python.org/pypi/asyncssh; 33 license = licenses.epl10; 34 maintainers = with maintainers; [ worldofpeace ]; 35 }; 36}