From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: [PATCH 75/96] gnu: Add ocaml-re Date: Tue, 3 Jan 2017 20:11:56 +0100 Message-ID: <20170103191217.6431-76-julien@lepiller.eu> References: <20170103191217.6431-1-julien@lepiller.eu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOUZQ-0002IY-SZ for guix-devel@gnu.org; Tue, 03 Jan 2017 14:16:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOUZP-0006Oo-UX for guix-devel@gnu.org; Tue, 03 Jan 2017 14:16:28 -0500 Received: from dau94-h03-89-91-205-84.dsl.sta.abo.bbox.fr ([89.91.205.84]:35506 helo=skaro.lepiller.eu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOUZP-0006OB-GO for guix-devel@gnu.org; Tue, 03 Jan 2017 14:16:27 -0500 Received: from localhost (localhost [127.0.0.1]) by skaro.lepiller.eu (Postfix) with ESMTP id DFE9C8122E for ; Tue, 3 Jan 2017 20:16:24 +0100 (CET) Received: from skaro.lepiller.eu ([127.0.0.1]) by localhost (lepiller.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y4eLmAQ9duYe for ; Tue, 3 Jan 2017 20:16:20 +0100 (CET) Received: from localhost.localdomain (128-79-116-134.hfc.dyn.abo.bbox.fr [128.79.116.134]) by skaro.lepiller.eu (Postfix) with ESMTPSA id 261DB81578 for ; Tue, 3 Jan 2017 20:13:36 +0100 (CET) In-Reply-To: <20170103191217.6431-1-julien@lepiller.eu> 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/ocaml.scm (ocaml-re): New variable. --- gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 00eae8e7e..7ad1460c0 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2408,3 +2408,26 @@ first class values representing record fields, and additional routines, to get and set record fields, iterate and fold over all fields of a record and create new record values.") (license license:asl2.0))) + +(define-public ocaml-re + (package + (name "ocaml-re") + (version "1.7.1") + (home-page "https://github.com/ocaml/ocaml-re/") + (source + (origin + (method url-fetch) + (uri (string-append home-page "/archive/" version ".tar.gz")) + (sha256 (base32 + "1s3rcr76cgm4p1xmaazc58arkg2lz3zfcp1icm00m6s5ccnkh67b")))) + (build-system ocaml-build-system) + (native-inputs `(("ounit" ,ocaml-ounit))) + (synopsis "Regular expression library for OCaml") + (description "Pure OCaml regular expressions with: + +- Perl-style regular expressions (module Re_perl) +- Posix extended regular expressions (module Re_posix) +- Emacs-style regular expressions (module Re_emacs) +- Shell-style file globbing (module Re_glob) +- Compatibility layer for OCaml's built-in Str module (module Re_str)") + (license license:expat))) -- 2.11.0