diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2017-06-10 16:06:34 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2017-06-12 07:34:56 +0200 |
commit | f37f949dfd3f148431d4f533a3d2297421db5185 (patch) | |
tree | a8c4ec0f657fc00bd6c987caa04c3d404872fc65 /gnu/packages | |
parent | 8cd7f430863f8d877cf2ef9981aeea231d9b70eb (diff) | |
download | patches-f37f949dfd3f148431d4f533a3d2297421db5185.tar patches-f37f949dfd3f148431d4f533a3d2297421db5185.tar.gz |
gnu: Add minicom.
* gnu/packages/engineering.scm (minicom): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/engineering.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 7ad93653e9..7568a1a9c3 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -57,6 +57,7 @@ #:use-module (gnu packages linux) ;FIXME: for pcb #:use-module (gnu packages m4) #:use-module (gnu packages maths) + #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -812,3 +813,32 @@ the 'showing the effect of'-style of operation.") for mathematical functions. It also provides an machine-independent interface to select the best such procedures to use on a given system.") (license license:gpl3+))) + +(define-public minicom + (package + (name "minicom") + (version "2.7.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://alioth.debian.org/frs/download.php/" + "file/4215/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1wa1l36fa4npd21xa9nz60yrqwkk5cq713fa3p5v0zk7g9mq6bsk")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--enable-lock-dir=/var/lock") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-lock-check + (lambda _ + (substitute* "configure" + (("test -d [$]UUCPLOCK") "true")) + #t))))) + (inputs + `(("ncurses" ,ncurses))) + (home-page "https://alioth.debian.org/projects/minicom/") + (synopsis "Serial terminal emulator") + (description "@code{minicom} is a serial terminal emulator.") + (license license:gpl2+))) |