17 buildPythonPackage rec {
22 src = fetchFromGitHub {
25 rev = "refs/tags/${version}";
26 hash = "sha256-rRcXimthyFLBqt0nMEv7bisL+JNLLZuRH7BopSLM7QQ=";
39 optional-dependencies = {
40 bcrypt = [ asyncssh ] ++ asyncssh.optional-dependencies.bcrypt;
41 fido2 = [ asyncssh ] ++ asyncssh.optional-dependencies.fido2;
42 gssapi = [ asyncssh ] ++ asyncssh.optional-dependencies.gssapi;
43 libnacl = [ asyncssh ] ++ asyncssh.optional-dependencies.libnacl;
44 pkcs11 = [ asyncssh ] ++ asyncssh.optional-dependencies.pkcs11;
45 pyopenssl = [ asyncssh ] ++ asyncssh.optional-dependencies.pyOpenSSL;
48 __darwinAllowLocalNetworking = true;
59 # Test requires network access
60 "test_config_expansions"
62 ++ lib.optionals stdenv.hostPlatform.isDarwin [
63 # Test fails with sandbox enabled
67 pythonImportsCheck = [ "sshfs" ];
70 description = "SSH/SFTP implementation for fsspec";
71 homepage = "https://github.com/fsspec/sshfs/";
72 changelog = "https://github.com/fsspec/sshfs/releases/tag/${version}";
73 license = licenses.asl20;
74 maintainers = with maintainers; [ melling ];