From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Patterson 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> References: <20160927041532.27097-1-ajpatter@uwaterloo.ca> Return-path: 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 In-Reply-To: <20160927041532.27097-1-ajpatter@uwaterloo.ca> 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/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")))) -- 2.10.0