21 buildPythonPackage rec {
24 format = "setuptools";
26 disabled = pythonOlder "3.6";
29 inherit pname version;
30 hash = "sha256-6Va/iYjQega6MwX2YE4mH0ygFMSiMvCHPxx2kvvjz8I=";
33 propagatedBuildInputs = [
40 passthru.optional-dependencies = {
61 __darwinAllowLocalNetworking = true;
67 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
70 # Reverts https://github.com/ronf/asyncssh/commit/4b3dec994b3aa821dba4db507030b569c3a32730
72 # This changed the test to avoid setting the sticky bit
73 # because that's not allowed for plain files in FreeBSD.
74 # However that broke the test on NixOS, failing with
75 # "Operation not permitted"
76 ./fix-sftp-chmod-test-nixos.patch
80 # Disables windows specific test (specifically the GSSAPI wrapper for Windows)
87 # Requires network access
88 "test_connect_timeout_exceeded"
89 # Fails in the sandbox
93 pythonImportsCheck = [
98 description = "Asynchronous SSHv2 Python client and server library";
99 homepage = "https://asyncssh.readthedocs.io/";
100 changelog = "https://github.com/ronf/asyncssh/blob/v${version}/docs/changes.rst";
101 license = licenses.epl20;
102 maintainers = with maintainers; [ ];