From a6c35527a6f18554685419a4e0058fb71b7bf4bf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 3 Sep 2024 20:45:39 +0200 Subject: [PATCH] python312Packages.sshfs: 2024.4.1 -> 2024.6.0 Changelog: https://github.com/fsspec/sshfs/releases/tag/2024.6.0 --- .../python-modules/sshfs/default.nix | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/sshfs/default.nix b/pkgs/development/python-modules/sshfs/default.nix index 300cba868c0c3..5b101748cd4f2 100644 --- a/pkgs/development/python-modules/sshfs/default.nix +++ b/pkgs/development/python-modules/sshfs/default.nix @@ -1,11 +1,12 @@ { - stdenv, lib, + stdenv, asyncssh, bcrypt, buildPythonPackage, fetchFromGitHub, fsspec, + importlib-metadata, mock-ssh-server, pytest-asyncio, pytestCheckHook, @@ -15,30 +16,39 @@ buildPythonPackage rec { pname = "sshfs"; - version = "2024.4.1"; + version = "2024.6.0"; pyproject = true; src = fetchFromGitHub { owner = "fsspec"; repo = "sshfs"; rev = "refs/tags/${version}"; - hash = "sha256-qkEojf/3YBMoYbRt0Q93MJYXyL9AWR24AEe3/zdn58U="; + hash = "sha256-8Vut/JDLmWrTys8aaIBRbaWlvGCg6edaXmMCFxjGhag="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ asyncssh - bcrypt fsspec ]; + optional-dependencies = { + bcrypt = [ asyncssh ] ++ asyncssh.optional-dependencies.bcrypt; + fido2 = [ asyncssh ] ++ asyncssh.optional-dependencies.fido2; + gssapi = [ asyncssh ] ++ asyncssh.optional-dependencies.gssapi; + libnacl = [ asyncssh ] ++ asyncssh.optional-dependencies.libnacl; + pkcs11 = [ asyncssh ] ++ asyncssh.optional-dependencies.python-pkcs11; + pyopenssl = [ asyncssh ] ++ asyncssh.optional-dependencies.pyopenssl; + }; + __darwinAllowLocalNetworking = true; nativeCheckInputs = [ + importlib-metadata mock-ssh-server pytest-asyncio pytestCheckHook