From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Patterson Subject: [PATCH 07/12] gnu: Add cl-ppcre. Date: Tue, 27 Sep 2016 00:15:27 -0400 Message-ID: <20160927041532.27097-8-ajpatter@uwaterloo.ca> References: <20160927041532.27097-1-ajpatter@uwaterloo.ca> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojo8-00018A-0l for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bojo5-0002sO-Sj for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:50 -0400 Received: from mailservices.uwaterloo.ca ([129.97.128.141]:45685 helo=minos.uwaterloo.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojo5-0002s5-N3 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 (cl-ppcre, cl-ppcre-sbcl, cl-ppcre-ecl): New variables. --- gnu/packages/lisp.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index d54dbd3..67cb684 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -739,3 +739,44 @@ streams which are similar to string streams.") (outputs '("out" "src")) (arguments '(#:build-in-tree "src")))) + +(define-public cl-ppcre + (package + (name "cl-ppcre") + (version "2.0.11") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/edicl/cl-ppcre/archive/v" + version ".tar.gz")) + (sha256 + (base32 "1i7daxf0wnydb0pgwiym7qh2wy70n14lxd6dyv28sy0naa8p31gd")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system asdf-build-system/source) + (synopsis "Portable regular expression library for Common Lisp") + (description "CL-PPCRE is a portable regular expression library for Common +Lisp, which is compatible with perl. It is pretty fast, thread-safe, and +compatible with ANSI-compliant Common Lisp implementations.") + (home-page "http://weitz.de/cl-ppcre/") + (license license:bsd-2))) + +(define-public cl-ppcre-sbcl + (package + (inherit cl-ppcre) + (name "cl-ppcre-sbcl") + (build-system asdf-build-system/sbcl) + (inputs `(("cl-ppcre" ,cl-ppcre) + ("flexi-streams-sbcl" ,flexi-streams-sbcl))) + (arguments + '(#:test-only-systems '("flexi-streams"))))) + +(define-public cl-ppcre-ecl + (package + (inherit cl-ppcre) + (name "cl-ppcre-ecl") + (build-system asdf-build-system/ecl) + (inputs `(("cl-ppcre" ,cl-ppcre) + ("flexi-streams-ecl" ,flexi-streams-ecl))) + (arguments + '(#:test-only-systems '("flexi-streams"))))) -- 2.10.0