gnu: Add python-sshtunnel.

* gnu/packages/python-xyz.scm (python-sshtunnel): New variable.
This commit is contained in:
Maxim Cournoyer 2022-08-15 08:10:46 -04:00
parent 0e53328a8a
commit 21f1a47097
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -4873,6 +4873,31 @@ (define-public python-robotframework-pabot
(description "Pabot is a parallel executor for Robot Framework tests.")
(license license:asl2.0)))
(define-public python-sshtunnel
(package
(name "python-sshtunnel")
(version "0.4.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "sshtunnel" version))
(sha256
(base32
"1z7rdgpp9m36ysh9pfzrn3vyiaj05bkjvcjdhj8vz0fvfjkhxjz7"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest" "-vv" "tests")))))))
(propagated-inputs (list python-paramiko))
(native-inputs (list openssh python-pytest))
(home-page "https://github.com/pahaz/sshtunnel")
(synopsis "Python SSH tunnels library")
(description "@code{sshtunnel} is a Python module for easily creating SSH
tunnels in the background, using Python.")
(license license:expat)))
(define-public python-robotframework-stacktrace
(package
(name "python-robotframework-stacktrace")