diff options
author | W. Kosior <koszko@koszko.org> | 2024-08-24 11:32:15 +0200 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2024-09-04 21:02:11 +0200 |
commit | da83e21c97b644f823b75ad92e1c51e82452abc9 (patch) | |
tree | c51d916c94571f4be834f713196b09231f9dd8db /gnu | |
parent | 469f0898a037c9bc6437b8a7296899e1f08e6ec9 (diff) | |
download | guix-da83e21c97b644f823b75ad92e1c51e82452abc9.tar.gz guix-da83e21c97b644f823b75ad92e1c51e82452abc9.zip |
gnu: Add tmate-ssh-server.
* gnu/packages/ssh.scm (tmate-ssh-server): New variable.
Change-Id: Idfc1f1d8835c0681fb957b85a142c0888a15fa04
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ssh.scm | 38 |
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") |