From patchwork Sat May 4 11:35:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64049 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 7067527BBEB; Sat, 4 May 2024 12:40:06 +0100 (BST) 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,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 CC84627BBE2 for ; Sat, 4 May 2024 12:40:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3DiS-0003oT-WB; Sat, 04 May 2024 07:38:09 -0400 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 1s3DiC-0003dE-4F for guix-patches@gnu.org; Sat, 04 May 2024 07:37:53 -0400 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 1s3DiB-0006QQ-1m for guix-patches@gnu.org; Sat, 04 May 2024 07:37:51 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DiX-0004WP-V4; Sat, 04 May 2024 07:38:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 29/75] gnu: Add rust-linkify-0.9. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:38:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482268517214 (code B ref 69257); Sat, 04 May 2024 11:38:13 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:38:05 +0000 Received: from localhost ([127.0.0.1]:53006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3DiO-0004TN-Pd for submit@debbugs.gnu.org; Sat, 04 May 2024 07:38:05 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:50345 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Di5-0004N3-8M for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B1fi5WYYpBqqbIkOwkamyQXk0QylLy8dxjZo0uFByGo=; b=C4epz8unbXelmVTTx0KySxTXFViKLLvz/bT8QlwBAZ6k8L3xZuOulgh8ux2xmvDAStMG3Y JQ9vpIojXehLMHrq8Iof8HkGz1nAKvx8sZBwJNexmFQECdHhiDFdcpIzoHfyiGODFBkOHM Oj2JevXgTNa2WccvnL8rtmXCGZorGK2z+LnfcDfKlW1SqT1yHJxdk3UTvQsD7vJUq74W/r BxQFaYyZYPMtTh/duS2+6dIHFp+aEAtViVjjueDuJm91iKj0UW+LYA7T9qEYyX4sGccOqo wLv3IgRlGsrkVfzWVELFPrqB/mCxcCV9bScEWVtymWYPd0zFwj+PptTovUQLPA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id ace4c599 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:09 +0000 (UTC) Date: Sat, 4 May 2024 13:35:01 +0200 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-linkify-0.9): Add variable. (rust-linkify-0.4): Inherit from rust-linkify-0.9. --- gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1d7931e875..2d1fb01dc3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39757,23 +39757,28 @@ (define-public rust-linked-hash-map-0.3 ("rust-serde" ,rust-serde-0.8) ("rust-serde-test" ,rust-serde-test-0.8)))))) -(define-public rust-linkify-0.4 +(define-public rust-linkify-0.9 (package (name "rust-linkify") - (version "0.4.0") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "linkify" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15i0q81vrhm4asskacy2z83fyj09ivcff0km82gwbli4vlkib583")))) + (base32 "1xfgz0lh1rbirzi28rnl0378w967jwhkd4v0qqmi2n430225ipcn")) + (modules '((guix build utils))) + (snippet '(substitute* "Cargo.toml" + (("= 0.3.2") + "0.3.2"))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-memchr" ,rust-memchr-2)) - #:cargo-development-inputs - (("rust-version-sync" ,rust-version-sync-0.8)))) + `(#:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-plotters-backend" ,rust-plotters-backend-0.3)) + #:cargo-inputs (("rust-memchr" ,rust-memchr-2)))) (home-page "https://github.com/robinst/linkify") (synopsis "Find URLs and email addresses in plain text") (description @@ -39782,6 +39787,24 @@ (define-public rust-linkify-0.4 punctuation.") (license (list license:expat license:asl2.0)))) +(define-public rust-linkify-0.4 + (package + (inherit rust-linkify-0.9) + (name "rust-linkify") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "linkify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15i0q81vrhm4asskacy2z83fyj09ivcff0km82gwbli4vlkib583")))) + (arguments + `(#:cargo-inputs + (("rust-memchr" ,rust-memchr-2)) + #:cargo-development-inputs + (("rust-version-sync" ,rust-version-sync-0.8)))))) + (define-public rust-linux-keyutils-0.2 (package (name "rust-linux-keyutils")