GNU bug report logs - #46431
[PATCH 2/3] gnu: Add go-github-com-shazow-rateio.

Previous Next

Package: guix-patches;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Wed, 10 Feb 2021 21:55:02 UTC

Severity: normal

Tags: patch

Merged with 46430, 46432

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46432: closed ([PATCH 3/3] gnu: Add ssh-chat.)
Date: Wed, 16 Apr 2025 11:33:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 16 Apr 2025 12:32:25 +0100
with message-id <87cydce3zq.fsf <at> gmail.com>
and subject line [PATCH 2/3] gnu: Add go-github-com-shazow-rateio.
has caused the debbugs.gnu.org bug report #46431,
regarding [PATCH 3/3] gnu: Add ssh-chat.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46431: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46431
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Reichör <stefan <at> xsteve.at>
To: guix-patches <at> gnu.org
Cc: Stefan Reichör <stefan <at> xsteve.at>
Subject: [PATCH 3/3] gnu: Add ssh-chat.
Date: Wed, 10 Feb 2021 22:54:04 +0100
* gnu/packages/ssh.scm (ssh-chat): New variable.
---
 gnu/packages/ssh.scm | 47 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 46 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 04c8c6ceaa..9e146ea03a 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2016, 2021 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;; Copyright © 2016 Christopher Allan Webber <cwebber <at> dustycloud.org>
 ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
-;;; Copyright © 2017 Stefan Reichör <stefan <at> xsteve.at>
+;;; Copyright © 2017, 2021 Stefan Reichör <stefan <at> xsteve.at>
 ;;; Copyright © 2017 Ricardo Wurmus <rekado <at> elephly.net>
 ;;; Copyright © 2017 Nikita <nikita <at> n0.is>
 ;;; Copyright © 2018 Manuel Graf <graf <at> init.at>
@@ -41,6 +41,7 @@
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages guile)
@@ -62,11 +63,13 @@
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages terminals)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xorg)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -915,3 +918,45 @@ Ed25519 keys.
 @item Modern browsers are supported.
 @end itemize")
     (license license:expat)))
+
+(define-public ssh-chat
+  (package
+    (name "ssh-chat")
+    (version "1.10")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/shazow/ssh-chat")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "15avqg9j7yx0cx1dvz46r0ipgqnq5i9lfv9rwy2fjqsy501qx03v"))))
+    (build-system go-build-system)
+    (propagated-inputs
+     `(("go-github-com-alexcesaro-log" ,go-github-com-alexcesaro-log)
+       ("go-github-com-shazow-rateio" ,go-github-com-shazow-rateio)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-text" ,go-golang-org-x-text)
+       ("go-github.com-howeyc-gopass" ,go-github.com-howeyc-gopass)
+       ("go-github.com-jessevdk-go-flags" ,go-github.com-jessevdk-go-flags)))
+    (arguments
+     `(#:install-source? #f
+       #:import-path "github.com/shazow/ssh-chat"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda _
+             (with-directory-excursion "src/github.com/shazow/ssh-chat"
+               (invoke "make" "build")
+               #t)))
+         (replace 'install
+           (lambda* (#:key outputs import-path #:allow-other-keys)
+             (let ((dest    (string-append (assoc-ref outputs "out") "/bin"))
+                   (source  (string-append "src/" import-path "/")))
+               (install-file (string-append source "ssh-chat") dest)
+               #t))))))
+    (synopsis "Chat over SSH.")
+    (description "Custom SSH server written in Go. Instead of a shell, you get a chat prompt.")
+    (home-page "https://github.com/shazow/ssh-chat")
+    (license license:expat)))
-- 
2.25.1



[Message part 3 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 46431-done <at> debbugs.gnu.org
Subject: [PATCH 2/3] gnu: Add go-github-com-shazow-rateio.
Date: Wed, 16 Apr 2025 12:32:25 +0100
[Message part 4 (text/plain, inline)]
Hi,

The upstream looks abandoned <https://github.com/shazow/rateio>.

Closing as not applied.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.