2018-05-22 23:09:33 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
|
|
|
, cryptography
|
2018-09-16 09:48:14 +01:00
|
|
|
, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl
|
|
|
|
, openssl }:
|
2018-05-22 23:09:33 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asyncssh";
|
2019-02-14 07:37:10 +00:00
|
|
|
version = "1.15.1";
|
2018-05-22 23:09:33 +01:00
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:10 +00:00
|
|
|
sha256 = "f2065a8b3af0c514c8de264e7b01f08df5213b707bacb7e7c080bd46c3e3bc35";
|
2018-05-22 23:09:33 +01:00
|
|
|
};
|
|
|
|
|
2018-09-16 09:48:14 +01:00
|
|
|
propagatedBuildInputs = [
|
2018-05-22 23:09:33 +01:00
|
|
|
bcrypt
|
|
|
|
cryptography
|
|
|
|
gssapi
|
|
|
|
libnacl
|
|
|
|
libsodium
|
|
|
|
nettle
|
|
|
|
pyopenssl
|
|
|
|
];
|
|
|
|
|
2018-09-16 09:48:14 +01:00
|
|
|
checkInputs = [ openssl ];
|
|
|
|
|
2018-05-22 23:09:33 +01:00
|
|
|
# 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";
|
2018-09-16 09:48:14 +01:00
|
|
|
homepage = https://pypi.python.org/pypi/asyncssh;
|
|
|
|
license = licenses.epl20;
|
2018-05-22 23:09:33 +01:00
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
};
|
|
|
|
}
|