@@ -0,0 +1,36 @@
1+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
2+, cryptography
3+, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl }:
4+
5+buildPythonPackage rec {
6+ pname = "asyncssh";
7+ version = "1.13.0";
8+ disabled = pythonOlder "3.4";
9+
10+ src = fetchPypi {
11+ inherit pname version;
12+ sha256 = "1n75z4dvhzymd4n610dpwlq7wl8cyz1gxx9m7iq92pzhss5vgpfd";
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+}