diff options
| author | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2025-10-28 09:25:41 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 12:41:56 +0000 |
| commit | d2550caf8ecd2eacdf3c0824a0f1388dc4da9c81 (patch) | |
| tree | 806cd09de1e4745a47efc049a20031affea52692 | |
| parent | 44772b3bc824aeebc3da79523969d2217c65faa7 (diff) | |
gnu: Add python-mock-ssh-server.
* gnu/packages/python-xyz.scm (python-mock-ssh-server): New variable.
Change-Id: Id5ab44d812fb6e0d8758961e81e4659e7c215823
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/ssh.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 975eace5ac4..28f2955cd73 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm | |||
| @@ -876,6 +876,35 @@ server implementation of the SSHv2 protocol on top of the Python 3.6+ asyncio | |||
| 876 | framework.") | 876 | framework.") |
| 877 | (license license:epl2.0))) | 877 | (license license:epl2.0))) |
| 878 | 878 | ||
| 879 | (define-public python-mock-ssh-server | ||
| 880 | (package | ||
| 881 | (name "python-mock-ssh-server") | ||
| 882 | (version "0.9.1") | ||
| 883 | (source | ||
| 884 | (origin | ||
| 885 | (method git-fetch) | ||
| 886 | (uri (git-reference | ||
| 887 | (url "https://github.com/carletes/mock-ssh-server") | ||
| 888 | (commit version))) | ||
| 889 | (file-name (git-file-name name version)) | ||
| 890 | (sha256 | ||
| 891 | (base32 "0fmnn2ddfagi0qybnw1n10hn29jawnj01bgwl4p9lnwx71c7x5y8")))) | ||
| 892 | (build-system pyproject-build-system) | ||
| 893 | (native-inputs | ||
| 894 | (list inetutils | ||
| 895 | openssh | ||
| 896 | python-pytest | ||
| 897 | python-setuptools)) | ||
| 898 | (propagated-inputs | ||
| 899 | (list python-paramiko)) | ||
| 900 | (home-page "https://github.com/carletes/mock-ssh-server") | ||
| 901 | (synopsis "Mock SSH server for testing purposes") | ||
| 902 | (description | ||
| 903 | "@code{mock-ssh-server} packs a Python context manager that implements an | ||
| 904 | SSH server for testing purposes. It is built on top of paramiko, so it does not | ||
| 905 | need OpenSSH binaries to be installed.") | ||
| 906 | (license license:expat))) | ||
| 907 | |||
| 879 | (define-public clustershell | 908 | (define-public clustershell |
| 880 | (package | 909 | (package |
| 881 | (name "clustershell") | 910 | (name "clustershell") |
