From da83e21c97b644f823b75ad92e1c51e82452abc9 Mon Sep 17 00:00:00 2001 From: "W. Kosior" Date: Sat, 24 Aug 2024 11:32:15 +0200 Subject: gnu: Add tmate-ssh-server. * gnu/packages/ssh.scm (tmate-ssh-server): New variable. Change-Id: Idfc1f1d8835c0681fb957b85a142c0888a15fa04 --- gnu/packages/ssh.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) 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 ;;; Copyright © 2023 Simon Streit ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Wojtek Kosior +;;; 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") -- cgit v1.2.3