aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/ssh.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 9d3fe1f40a..92a3e201e5 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -19,6 +19,9 @@
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2023 Simon Streit <simon@netpanic.org>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2024 Wojtek Kosior <koszko@koszko.org>
+;;; Additions and modifications by Wojtek Kosior are additionally
+;;; dual-licensed under the Creative Commons Zero v1.0.
;;;
;;; This file is part of GNU Guix.
;;;
@@ -59,6 +62,7 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages nettle)
#:use-module (gnu packages kerberos)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
@@ -70,6 +74,7 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages security-token)
+ #:use-module (gnu packages serialization)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
#:use-module (gnu packages xorg)
@@ -946,6 +951,39 @@ Ed25519 keys.
@end itemize")
(license license:expat)))
+(define-public tmate-ssh-server
+ (let ((ver "2.3.0")
+ (rev "0")
+ (commit-id "d7334ee4c3c8036c27fb35c7a24df3a88a15676b"))
+ (package
+ (name "tmate-ssh-server")
+ (version (git-version ver rev commit-id))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tmate-io/tmate-ssh-server")
+ (commit commit-id)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1vf9b0hlsi7wj5zqnbqph6f467mpkasaaspp80ipdmrdm2yp8yjp"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-msgpack-pkg-config-dependency
+ (lambda _
+ (substitute* "configure.ac"
+ (("msgpack >= ")
+ "msgpack-c >= ")))))))
+ (native-inputs (list autoconf automake pkg-config))
+ (inputs (list libevent libite libssh msgpack-c ncurses))
+ (home-page "https://tmate.io/")
+ (synopsis "The server side part of tmate")
+ (description "This package allows users to host their own tmate
+servers.")
+ (license license:expat))))
+
(define-public x11-ssh-askpass
(package
(name "x11-ssh-askpass")