GNU bug report logs - #49576
[PATCH] Add sterm

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Thu, 15 Jul 2021 16:18:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> outlook.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: 宋文武 <iyzsong <at> outlook.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49576: closed ([PATCH] Add sterm)
Date: Sun, 18 Jul 2021 09:43:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 18 Jul 2021 17:42:33 +0800
with message-id <OSZP286MB06643D08859F713BC718B0A1A3E09 <at> OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM>
and subject line Re: bug#49576: [PATCH] Add sterm
has caused the debbugs.gnu.org bug report #49576,
regarding [PATCH] Add sterm
to be marked as done.

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


-- 
49576: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49576
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: phodina <phodina <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] Add sterm
Date: Thu, 15 Jul 2021 16:17:13 +0000
---
index 4429a2b75a..a6f866cbea 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2021 qblade <qblade <at> protonmail.com>
 ;;; Copyright © 2021 Gerd Heber <gerd.heber <at> gmail.com>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
+;;; Copyright © 2021 Petr Hodina <phodina <at> protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1297,6 +1298,35 @@ replacement for the OpenDWG libraries.")
     (description "@code{minicom} is a serial terminal emulator.")
     (license license:gpl2+)))

+(define-public sterm
+(package
+  (name "sterm")
+  (version "20200306")
+  (source (origin
+            (method git-fetch)
+            (uri
+	      (git-reference
+		(url "https://github.com/wentasah/sterm")
+		(commit version)))
+            (sha256
+             (base32
+              "031pd8yz2bfzqbari6za1c3xcqmw94ap4vbrjzb3v6izjcrca58c"))))
+  (build-system gnu-build-system)
+  (arguments
+    '(#:tests? #f
+      #:make-flags (list "PREFIX=$out" "CC=gcc")
+      #:phases (modify-phases %standard-phases
+		(delete 'configure)
+		(replace 'install
+		  (lambda* (#:key outputs #:allow-other-keys)
+			  (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+			    (install-file "sterm" bin)
+			    #t))))))
+  (synopsis "Simple serial terminal")
+  (description "This is a minimalist terminal program like minicom or cu. The only thing it does is creating a bidirectional connection between stdin/stdout and a terminal device (e.g. serial line). It can also set serial line baudrate, manipulate DTR/RTS modem lines, send break and throttle transmission speed.")
+  (home-page "https://github.com/wentasah/sterm")
+  (license #f)))
+
 (define-public harminv
   (package
     (name "harminv")
--
2.31.1


[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> outlook.com>
To: phodina <phodina <at> protonmail.com>
Cc: 49576-done <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>
Subject: Re: bug#49576: [PATCH] Add sterm
Date: Sun, 18 Jul 2021 17:42:33 +0800
phodina <phodina <at> protonmail.com> writes:

> Thanks Tobias. Now it builds without errors.
>
> Yes, I used Nix.
>
> Here's the updated patch:
> [...]

Pushed, thank you and Tobias!


This bug report was last modified 3 years and 305 days ago.

Previous Next


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