2018-05-23 00:09:33 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
|
|
|
, cryptography
|
|
|
|
, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asyncssh";
|
2018-07-04 10:11:52 +02:00
|
|
|
version = "1.13.2";
|
2018-05-23 00:09:33 +02:00
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-04 10:11:52 +02:00
|
|
|
sha256 = "e4c07577d021c68d4c8e6d1897987424cc25b58e0726f31ff72476a34ddb6deb";
|
2018-05-23 00:09:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bcrypt
|
|
|
|
cryptography
|
|
|
|
gssapi
|
|
|
|
libnacl
|
|
|
|
libsodium
|
|
|
|
nettle
|
|
|
|
pyopenssl
|
|
|
|
];
|
|
|
|
|
|
|
|
# Disables windows specific test (specifically the GSSAPI wrapper for Windows)
|
|
|
|
postPatch = ''
|
|
|
|
rm ./tests/sspi_stub.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework";
|
|
|
|
homepage = https://pypi.python.org/pypi/asyncssh;
|
|
|
|
license = licenses.epl10;
|
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
};
|
|
|
|
}
|