From 9cddd39d757076d1f2e1eaa4ca591ffa09b9f8eb Mon Sep 17 00:00:00 2001 From: phodina Date: Sat, 17 Jul 2021 12:08:27 +0000 Subject: gnu: Add sterm. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/engineering.scm (sterm): New variable. Signed-off-by: 宋文武 --- gnu/packages/engineering.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 4429a2b75a..fc932ddb28 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1297,6 +1297,36 @@ 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))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "031pd8yz2bfzqbari6za1c3xcqmw94ap4vbrjzb3v6izjcrca58c")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases (delete 'configure)))) + (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 license:gpl3+))) + (define-public harminv (package (name "harminv") -- cgit v1.2.3