From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 1/6] gnu: Add picocom. Date: Mon, 26 Sep 2016 12:34:42 +0200 Message-ID: <20160926103447.31830-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boTFd-0001wL-3x for guix-devel@gnu.org; Mon, 26 Sep 2016 06:35:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boTFZ-0004JS-78 for guix-devel@gnu.org; Mon, 26 Sep 2016 06:35:08 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:47384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boTFY-0004D0-1J for guix-devel@gnu.org; Mon, 26 Sep 2016 06:35:05 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/terminals.scm (picocom): New variable. --- gnu/packages/terminals.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index d5c24d2..7ab4559 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -259,3 +259,38 @@ multi-seat support, a replacement for @command{mingetty}, and more.") license:gpl2+)) (supported-systems (filter (cut string-suffix? "-linux" <>) %supported-systems)))) + +(define-public picocom + (package + (name "picocom") + (version "2.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/npat-efault/picocom" + "/archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v891cx18vx3lnpfaq90f5y6njgigkn4qsikhrmyzshnz32jy5bb")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags '("CC=gcc") + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (man (string-append out "/share/man"))) + (install-file "picocom" bin) + (install-file "picocom.1" man))))))) + (home-page "https://github.com/npat-efault/picocom") + (synopsis "Minimal dumb-terminal emulation program") + (description "It was designed to serve as a simple, manual, modem +configuration, testing, and debugging tool. It has also serves well +as a low-tech serial communications program to allow access to all +types of devices that provide serial consoles.") + (license license:gpl2+))) -- 2.9.0