guix_mirror_bot pushed a commit to branch master
in repository guix.

commit d2550caf8ecd2eacdf3c0824a0f1388dc4da9c81
Author: Ghislain Vaillant <[email protected]>
AuthorDate: Tue Oct 28 09:25:41 2025 +0100

    gnu: Add python-mock-ssh-server.
    
    * gnu/packages/python-xyz.scm (python-mock-ssh-server): New variable.
    
    Change-Id: Id5ab44d812fb6e0d8758961e81e4659e7c215823
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/ssh.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 975eace5ac..28f2955cd7 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")

Reply via email to