diff options
| author | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2025-10-28 09:22:38 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 12:42:46 +0000 |
| commit | cb9e02e554d2744912d69568614cec84e836ef10 (patch) | |
| tree | 6bdbc52acea0dcbba619ca6a44efb4e4ebe2acc8 /gnu/packages | |
| parent | d2550caf8ecd2eacdf3c0824a0f1388dc4da9c81 (diff) | |
gnu: Add python-sshfs.
* gnu/packages/python-xyz.scm (python-sshfs): New variable.
Change-Id: I22ea5d608f8b02d584dd2d8318d2142e898e629f
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/ssh.scm | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 28f2955cd73..b7fdb3c7c41 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm | |||
| @@ -20,7 +20,8 @@ | |||
| 20 | ;;; Copyright © 2023 Simon Streit <simon@netpanic.org> | 20 | ;;; Copyright © 2023 Simon Streit <simon@netpanic.org> |
| 21 | ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> | 21 | ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> |
| 22 | ;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se> | 22 | ;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se> |
| 23 | ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com> | 23 | ;;; Copyright © 2024, 2025 Sharlatan Hellseher <sharlatanus@gmail.com> |
| 24 | ;;; Copyright © 2025 Ghislain Vaillant <ghislain.vaillant@inria.fr> | ||
| 24 | ;;; | 25 | ;;; |
| 25 | ;;; This file is part of GNU Guix. | 26 | ;;; This file is part of GNU Guix. |
| 26 | ;;; | 27 | ;;; |
| @@ -905,6 +906,53 @@ SSH server for testing purposes. It is built on top of paramiko, so it does not | |||
| 905 | need OpenSSH binaries to be installed.") | 906 | need OpenSSH binaries to be installed.") |
| 906 | (license license:expat))) | 907 | (license license:expat))) |
| 907 | 908 | ||
| 909 | (define-public python-sshfs | ||
| 910 | (package | ||
| 911 | (name "python-sshfs") | ||
| 912 | (version "2025.10.0") | ||
| 913 | (source | ||
| 914 | (origin | ||
| 915 | (method git-fetch) | ||
| 916 | (uri (git-reference | ||
| 917 | (url "https://github.com/fsspec/sshfs") | ||
| 918 | (commit version))) | ||
| 919 | (file-name (git-file-name name version)) | ||
| 920 | (sha256 | ||
| 921 | (base32 "1cdq4wpx68k9bcrns2p2jr3f3rg8hck8588rnw6yn5rsfdlvyvr0")))) | ||
| 922 | (build-system pyproject-build-system) | ||
| 923 | (arguments | ||
| 924 | (list | ||
| 925 | #:phases | ||
| 926 | #~(modify-phases %standard-phases | ||
| 927 | (add-before 'build 'set-version | ||
| 928 | (lambda _ | ||
| 929 | (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) | ||
| 930 | (native-inputs | ||
| 931 | (list python-importlib-metadata | ||
| 932 | python-mock-ssh-server | ||
| 933 | python-pytest | ||
| 934 | python-pytest-asyncio | ||
| 935 | python-setuptools | ||
| 936 | python-setuptools-scm)) | ||
| 937 | (propagated-inputs | ||
| 938 | (list python-asyncssh | ||
| 939 | python-bcrypt | ||
| 940 | python-fsspec)) | ||
| 941 | (home-page "https://github.com/fsspec/sshfs") | ||
| 942 | (synopsis "SSH/SFTP implementation for fsspec") | ||
| 943 | (description | ||
| 944 | "This package provides an implementation of fsspec for the SFTP protocol | ||
| 945 | using asyncssh, with the following features: | ||
| 946 | |||
| 947 | @itemize | ||
| 948 | @item A complete implementation of the fsspec protocol through SFTP | ||
| 949 | @item Supports features outside of the SFTP | ||
| 950 | @item Quite fast | ||
| 951 | @item Builtin Channel Management | ||
| 952 | @item Async | ||
| 953 | @end itemize") | ||
| 954 | (license license:asl2.0))) | ||
| 955 | |||
| 908 | (define-public clustershell | 956 | (define-public clustershell |
| 909 | (package | 957 | (package |
| 910 | (name "clustershell") | 958 | (name "clustershell") |
