36 lines
935 B
Nix
36 lines
935 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
|
, cryptography
|
|
, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asyncssh";
|
|
version = "1.13.3";
|
|
disabled = pythonOlder "3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "eb5b190badc5cd2a506a1b6ced3e92f948166974eef7d1abab61acc67aa379e6";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|