[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49576] [PATCH] Add sterm
From: |
phodina |
Subject: |
[bug#49576] [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@protonmail.com>
;;; Copyright © 2021 Gerd Heber <gerd.heber@gmail.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021 Petr Hodina <phodina@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
- [bug#49576] [PATCH] Add sterm,
phodina <=