From patchwork Tue Sep 27 04:15:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Patterson X-Patchwork-Id: 16040 Received: (qmail 58441 invoked by uid 89); 27 Sep 2016 04:17:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=gray, 6923, Hx-languages-length:2198 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Sep 2016 04:16:55 +0000 Received: from localhost ([::1]:47908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojp7-0001u1-Vp for patchwork@sourceware.org; Tue, 27 Sep 2016 00:16:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojo7-000180-KY for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bojo5-0002rx-EK for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:50 -0400 Received: from mailservices.uwaterloo.ca ([129.97.128.141]:45677 helo=minos.uwaterloo.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojo5-0002rn-6d for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:49 -0400 Received: from jalisou.gateway.2wire.net (bas1-jockvale05-3096537436.dsl.bell.ca [184.145.105.92]) (authenticated bits=0) by minos.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id u8R4FYLS031867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 27 Sep 2016 00:15:48 -0400 From: Andy Patterson To: guix-devel@gnu.org Subject: [PATCH 06/12] gnu: Add flexi-streams. Date: Tue, 27 Sep 2016 00:15:26 -0400 Message-Id: <20160927041532.27097-7-ajpatter@uwaterloo.ca> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160927041532.27097-1-ajpatter@uwaterloo.ca> References: <20160927041532.27097-1-ajpatter@uwaterloo.ca> X-UUID: 17771647-3fc7-496f-b950-5166e62770e0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 129.97.128.141 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/lisp.scm (flexi-streams, flexi-streams-sbcl) (flexi-streams-ecl): New variables. --- gnu/packages/lisp.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index da38ec2..d54dbd3 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -692,3 +692,50 @@ thin compatibility layer for gray streams.") (name "trivial-gray-streams-ecl") (build-system asdf-build-system/ecl) (inputs `(("trivial-gray-streams" ,trivial-gray-streams))))) + +(define-public flexi-streams + (package + (name "flexi-streams") + (version "1.0.12") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/edicl/flexi-streams/archive/v" + version ".tar.gz")) + (sha256 + (base32 "16grnxvs7vqm5s6myf8a5s7vwblzq1kgwj8i7ahz8vwvihm9gzfi")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system asdf-build-system/source) + (synopsis "Implementation of virtual bivalent streams for Common Lisp") + (description "Flexi-streams is an implementation of \"virtual\" bivalent +streams that can be layered atop real binary or bivalent streams and that can +be used to read and write character data in various single- or multi-octet +encodings which can be changed on the fly. It also supplies in-memory binary +streams which are similar to string streams.") + (home-page "http://weitz.de/flexi-streams/") + (license license:bsd-3))) + +(define-public flexi-streams-sbcl + (package + (inherit flexi-streams) + (name "flexi-streams-sbcl") + (build-system asdf-build-system/sbcl) + (inputs `(("flexi-streams" ,flexi-streams) + ("trivial-gray-streams-sbcl" ,trivial-gray-streams-sbcl))) + (propagated-inputs '()) + (outputs '("out" "src")) + (arguments + '(#:build-in-tree "src")))) + +(define-public flexi-streams-ecl + (package + (inherit flexi-streams) + (name "flexi-streams-ecl") + (build-system asdf-build-system/ecl) + (inputs `(("flexi-streams" ,flexi-streams) + ("trivial-gray-streams-ecl" ,trivial-gray-streams-ecl))) + (propagated-inputs '()) + (outputs '("out" "src")) + (arguments + '(#:build-in-tree "src"))))