From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efYtH-00023t-RO for guix-patches@gnu.org; Sat, 27 Jan 2018 17:24:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efYtG-0001xY-Pt for guix-patches@gnu.org; Sat, 27 Jan 2018 17:24:03 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37676) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efYtG-0001xP-Ld for guix-patches@gnu.org; Sat, 27 Jan 2018 17:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1efYtG-0001uO-Fm for guix-patches@gnu.org; Sat, 27 Jan 2018 17:24:02 -0500 Subject: [bug#30272] [PATCH 1/3] gnu: Add Dashel. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efYsS-0001wu-HO for guix-patches@gnu.org; Sat, 27 Jan 2018 17:23:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efYsR-0001Nr-Bv for guix-patches@gnu.org; Sat, 27 Jan 2018 17:23:12 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sat, 27 Jan 2018 23:22:59 +0100 Message-Id: <20180127222259.16249-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30272@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= From: Ludovic Courtès * gnu/packages/cpp.scm (dashel): New variable. --- gnu/packages/cpp.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 95e82fcb6..3e9c39df6 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017 Ethan R. Jones ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Fis Trivial +;;; Copyright © 2018 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -100,3 +101,26 @@ operating system functions.") APIs on top of Standard Template Library (@dfn{STL}) classes.") (license (list license:expat ; cJSON license:bsd-4))))) ; everything else (LICENSE.txt) + +(define-public dashel + (package + (name "dashel") + (version "1.3.3") + (home-page "https://github.com/aseba-community/dashel") + (source (origin + (method url-fetch) + (uri (string-append home-page "/archive/" version ".tar.gz")) + (sha256 + (base32 + "1ckzac1rsw3cxmpdpwcqv46jyp7risk5ybq6jjiizbqn7labf6dw")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system cmake-build-system) + (arguments '(#:tests? #f)) ;no tests + (native-inputs `(("pkg-config" ,pkg-config))) + (synopsis "Data stream helper encapsulation library") + (description + "Dashel is a data stream helper encapsulation C++ library. It provides a +unified access to TCP/UDP sockets, serial ports, console, and files streams. +It also allows a server application to wait for any activity on any +combination of these streams.") + (license license:bsd-3))) -- 2.15.1