nixpkgs/pkgs/development/python-modules/asyncssh/default.nix

40 lines
969 B
Nix
Raw Normal View History

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