summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2025-10-28 09:25:41 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-30 12:41:56 +0000
commitd2550caf8ecd2eacdf3c0824a0f1388dc4da9c81 (patch)
tree806cd09de1e4745a47efc049a20031affea52692 /gnu
parent44772b3bc824aeebc3da79523969d2217c65faa7 (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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ssh.scm29
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
framework.")
(license license:epl2.0)))
+(define-public python-mock-ssh-server
+ (package
+ (name "python-mock-ssh-server")
+ (version "0.9.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/carletes/mock-ssh-server")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0fmnn2ddfagi0qybnw1n10hn29jawnj01bgwl4p9lnwx71c7x5y8"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list inetutils
+ openssh
+ python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-paramiko))
+ (home-page "https://github.com/carletes/mock-ssh-server")
+ (synopsis "Mock SSH server for testing purposes")
+ (description
+ "@code{mock-ssh-server} packs a Python context manager that implements an
+SSH server for testing purposes. It is built on top of paramiko, so it does not
+need OpenSSH binaries to be installed.")
+ (license license:expat)))
+
(define-public clustershell
(package
(name "clustershell")