From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aBOjNi8TzmBAJwEAgWs5BA (envelope-from ) for ; Sat, 19 Jun 2021 17:54:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SFJlMi8TzmDwGwAA1q6Kng (envelope-from ) for ; Sat, 19 Jun 2021 15:54:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2EB162CD20 for ; Sat, 19 Jun 2021 17:54:23 +0200 (CEST) Received: from localhost ([::1]:48550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ludIc-0005Jx-7g for larch@yhetil.org; Sat, 19 Jun 2021 11:54:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ludFO-0000SZ-Gh for guix-patches@gnu.org; Sat, 19 Jun 2021 11:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ludFO-0003dH-8P for guix-patches@gnu.org; Sat, 19 Jun 2021 11:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ludFO-0006q9-8P for guix-patches@gnu.org; Sat, 19 Jun 2021 11:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49101] [PATCH v3 1/6] gnu: Add ocaml-pcre. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Jun 2021 15:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49101 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49101@debbugs.gnu.org Cc: Julien Lepiller Received: via spool by 49101-submit@debbugs.gnu.org id=B49101.162411784126177 (code B ref 49101); Sat, 19 Jun 2021 15:51:02 +0000 Received: (at 49101) by debbugs.gnu.org; 19 Jun 2021 15:50:41 +0000 Received: from localhost ([127.0.0.1]:60521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ludF3-0006o8-7m for submit@debbugs.gnu.org; Sat, 19 Jun 2021 11:50:41 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:49060 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ludF1-0006nm-7S for 49101@debbugs.gnu.org; Sat, 19 Jun 2021 11:50:39 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1624117833; bh=IW/oM3cNwGPwZ0vSXEJMkWHjKwsqa5MY/C+Wr97tboo=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=e0Ebp9ATlohMJqypkl8ZjC78PO0LBL5fYtoPbEIU975UAsfKODrKRboYVo9/qS36R bipAPquznoOrAv/D/70y5t5kZDAarG2d54MmTcF+H5dfboaWfW8TODu8QuJbE7RNMv +OMqo452jIqGS8A3J0wrTYMmnVaANMnAZtWZerkw= In-Reply-To: References: Message-Id: <6e05031b1aa80953a2dda53017957e06d66c333c.1624117491.git.public@yoctocell.xyz> Date: Sat, 19 Jun 2021 17:50:32 +0200 MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624118063; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=fgsT2KFdpHp9FguGqueYsGDRXjDGDXy9YwKfPWLQV4E=; b=sknBCmCxq4ylshzBBWKWG5SXVSavK0A4kJqZXZr/zZwF6sFYGSlhigTZvDEpDphgzQm5aj ygCWvf48QUZiYkV1mqIIZ2wja/Ybvhdkf3Alf7e38GEm4+tsGz+STotY7LwlVBwcPoNo3w BrBV30wwgy2tuKM2XFvrQn6hXE84wPEWP/TQ93e2Rh5pXXUNRMkX+VIgYOtLSi22Obhu9g KG1dl77gRVhhrzzLqW1zvnEiaNZROMM/yf3RXm/cl+vc+OM4Rd7YRCQzWAOgYmdYGlxNFQ klfP8UmIt0yA3NkrTh7pjYP5OceCppSG3q7cr7zz7NQlTBwvqUvfiuDQimJetg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624118063; a=rsa-sha256; cv=none; b=fTkai9lSSCzzwqKdqnipXI3J61MKi8+JcC0Uwp5VsXnrKLvRi73gsz5qINs88e+ickE/Wj U0rCDZ8NF1HHbAAUHibMnCXPjf+zyuh05OujJ+NBBEh/J1igwYJK00vtTHwFVlU7kP07cu KvXEgC9BMCixJbWRHUX3j2mCF5ziv+eKPo8OYh1uROq67r9fU5nYJ6YTxk1g4zVxz1qyr2 6b9F2DTsybIqKPQYI5fyKNbZQEF8tutH7Xa1ZJNFhadsQnRKRHbKZAht84aQZZ3p6nmSOA eAZbdmSziO62F8FGd40kXzp9jqsI+0lZEYNRIjf/j0w7OusMPABCiUBQIL6lGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=e0Ebp9AT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=e0Ebp9AT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2EB162CD20 X-Spam-Score: -0.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: fjEfR49R5DLO * gnu/packages/ocaml.scm (ocaml-pcre): New variable. --- gnu/packages/ocaml.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index a8432ebbfe..542730699e 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3086,6 +3086,38 @@ every compliant installation of OCaml and organize these libraries into a hierarchy of modules.") (license license:lgpl2.1+))) +(define-public ocaml-pcre + (package + (name "ocaml-pcre") + (version "7.4.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mmottl/pcre-ocaml") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "11mck879p5zvkghps4ky8yslm0isgz52d84adl0dmcfxv2ibvcym")))) + (build-system dune-build-system) + (arguments + ;; No tests. + '(#:tests? #f)) + (propagated-inputs + `(("dune-configurator" ,dune-configurator) + ("pcre" ,pcre))) + (native-inputs + `(("pcre:bin" ,pcre "bin"))) + (home-page "https://mmottl.github.io/pcre-ocaml") + (synopsis + "Bindings to the Perl Compatibility Regular Expressions library") + (description "pcre-ocaml offers library functions for string +pattern matching and substitution, similar to the functionality +offered by the Perl language.") + ;; With static linking exception + (license license:lgpl2.1+))) + (define-public ocaml4.07-pcre (package (name "ocaml4.07-pcre") -- 2.32.0