From patchwork Thu Dec 21 20:55:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57964 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8B48927BBE2; Thu, 21 Dec 2023 20:58:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4DF1727BBEA for ; Thu, 21 Dec 2023 20:58:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGQ7G-000121-9o; Thu, 21 Dec 2023 15:58:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGQ7D-000118-Ad for guix-patches@gnu.org; Thu, 21 Dec 2023 15:57:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rGQ7D-0006wg-25 for guix-patches@gnu.org; Thu, 21 Dec 2023 15:57:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGQ7G-0006j7-Qd; Thu, 21 Dec 2023 15:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67958] [PATCH 3/7] gnu: Add rust-regex-1.9. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 21 Dec 2023 20:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67958 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67958@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67958-submit@debbugs.gnu.org id=B67958.170319223025775 (code B ref 67958); Thu, 21 Dec 2023 20:58:02 +0000 Received: (at 67958) by debbugs.gnu.org; 21 Dec 2023 20:57:10 +0000 Received: from localhost ([127.0.0.1]:45557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGQ6Q-0006hf-1e for submit@debbugs.gnu.org; Thu, 21 Dec 2023 15:57:10 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:40744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGQ6L-0006ge-P4 for 67958@debbugs.gnu.org; Thu, 21 Dec 2023 15:57:06 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rGQ6B-002SQ7-VC for 67958@debbugs.gnu.org; Thu, 21 Dec 2023 21:56:55 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=W23w2EVGjOONHLOOdzVcD+AhDNU7mRil0qf24iGiOg0=; b=rfjr/lhrqtcSKM3aThEcacZrRS l6Ogv5Dl4PEjLuemzBlR6bkNry7qH6LSFhQO5bVySedttmh4Xg0VZ92b+2aN6I5RoMTdFpKk3e23K uj8n+kbGEHW8H0RZb5I7l8A+WxWXedHYc6e1425NAdSKyPvdOpp21V1W2Z6Z9Kx6IJlG2zgb/K08Q 26UnsfBElZyJft1IIJ3bpYkexUAf5Em+jkEDna5ryxIInsOMnQ7cAUtejlkoN7sEUV7/jLeuHTEoT XmkwDvFKGJhETd/eTthQjydXd8q7KsV5zLb1S6fg34xjOiK6wMZHFXEzpXl9+cbxc77riMyfhxIHZ F9k55YHw==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rGQ6B-0000k1-Kq for 67958@debbugs.gnu.org; Thu, 21 Dec 2023 21:56:55 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rGQ5r-00AvtM-2o; Thu, 21 Dec 2023 21:56:35 +0100 Date: Thu, 21 Dec 2023 15:55:01 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-regex-1.9): New variable. Change-Id: If52368ce7297a51051dab14f1079bf4ae7ce0fc7 --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bb2b188dd6..8fbbe6a658 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -62795,6 +62795,32 @@ (define-public rust-regex-1 uses finite automata and guarantees linear time matching on all inputs.") (license (list license:expat license:asl2.0)))) +(define-public rust-regex-1.9 + (package + (inherit rust-regex-1) + (name "rust-regex") + (version "1.9.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zs4h2swgfqsspj11jqqs7k66vbdmq222rwbid9byva00la21vpb")))) + (arguments + `(#:cargo-inputs + (("rust-aho-corasick" ,rust-aho-corasick-1) + ("rust-memchr" ,rust-memchr-2) + ("rust-regex-automata" ,rust-regex-automata-0.3) + ("rust-regex-syntax" ,rust-regex-syntax-0.7)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-regex-test" ,rust-regex-test-0.1)))))) + (define-public rust-regex-0.2 (package (inherit rust-regex-1)