From patchwork Thu Mar 20 21:25:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 40543 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 7618527BBEA; Thu, 20 Mar 2025 21:37:44 +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=-6.3 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A 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 77E0F27BBE2 for ; Thu, 20 Mar 2025 21:37:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvNZi-0006FG-I2; Thu, 20 Mar 2025 17:37:14 -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 1tvNZg-0006E2-Jj for guix-patches@gnu.org; Thu, 20 Mar 2025 17:37:12 -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 1tvNZg-0007zX-9R for guix-patches@gnu.org; Thu, 20 Mar 2025 17:37:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Y6bWt0C9efXENHEUQBXjoipR1UnHJ8jfVjpvkWdFGMo=; b=YgObVR6ozaFDwgr7Jg1Tlb1dR6tfFKyruuqxO932qpczmt/UiGj+oiWe8w6oChn7vQbihMnblTvuvw70gadExh6Iwn/HZ3EygnH8Jax/yov3p1ie1TnkxQrUISYlnJTZSZXTeLg1Oi7xTD+3Ynbf/8z5kJdSc5+tyLi+zhfsegIk+rRRo9LK4iJsHwXgwpwBjWWNv3CPIQWtCsCikKoCiQ7nSLOdoqUV8+UtHlFujaxezWH9+woWh61tPChUlJBHyzH99mD9caz14C6tAE5Z6WgpTd93VZEMda75s54GYmDZ1t0gEn2PAyF5fLdbMR3VLcRmPxKOb1pdSIy9q4/96w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tvNZg-00065q-29 for guix-patches@gnu.org; Thu, 20 Mar 2025 17:37:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77040] [PATCH v3 11/12] gnu: Add rust-insta-1.42. Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Mar 2025 21:37:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77040 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77040@debbugs.gnu.org Cc: Gabriel Santos Received: via spool by 77040-submit@debbugs.gnu.org id=B77040.174250660823193 (code B ref 77040); Thu, 20 Mar 2025 21:37:11 +0000 Received: (at 77040) by debbugs.gnu.org; 20 Mar 2025 21:36:48 +0000 Received: from localhost ([127.0.0.1]:59303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvNZG-00061u-Im for submit@debbugs.gnu.org; Thu, 20 Mar 2025 17:36:47 -0400 Received: from layka.disroot.org ([178.21.23.139]:43326) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tvNYz-00060U-0g for 77040@debbugs.gnu.org; Thu, 20 Mar 2025 17:36:29 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 11D7726135; Thu, 20 Mar 2025 22:36:28 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ZaiIvhV5zuAa; Thu, 20 Mar 2025 22:36:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1742506587; bh=zb0y6n2AdIdF6UMNFdu2L+3qDbBBdPwGN7Ll3LlcINg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=cRA2wOlHl/oZ1rOlGkyyOc9QxAaCYdVZvcyI/7Frgb+AEGvzUukpHaEJlrHQ3OOxQ AkgymuJyVeqKR2iwX2uIL7a1c5/URt2Gdo8oP1RBltjtlKQ8oLYDY4PALa4fuJn+lL 18xo028F27VPG6oA7TE0tAP9ECMTvGVevpConPhkT6+DDA9tHP8tTIaimSwlIzfo5w jcEVnKJfE9aTKZ2G9k8d72kGmDfWi/vjJ6lJQlRmtG+kbHRCIUOBizORT6hCWuQbvL jM4d34Jd0yrjVf3v9ZDBZCvfnGQe2i8F2wCJ8fp2eStpdPQQmIzQXoz5dGBzBssdUT uALkU0NwLa3GA== Date: Thu, 20 Mar 2025 18:25:16 -0300 Message-ID: <20250320213508.28485-12-gabrielsantosdesouza@disroot.org> In-Reply-To: <20250320213508.28485-1-gabrielsantosdesouza@disroot.org> References: <20250320213508.28485-1-gabrielsantosdesouza@disroot.org> 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: Gabriel Santos X-ACL-Warn: , Gabriel Santos via Guix-patches X-Patchwork-Original-From: Gabriel Santos via Guix-patches via From: Gabriel Santos 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-insta-1.42): New variable. Change-Id: I404c3b870574fc616cf076c671b83a97c091a4e5 --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cc3665d69c..8361ca5c90 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35278,6 +35278,46 @@ (define-public rust-inquire-0.7 terminals.") (license license:expat))) +(define-public rust-insta-1.42 + (package + (name "rust-insta") + (version "1.42.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "insta" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "111hrdc3bxwp146kz2ffwdq0qypdjk8a2yzwr8mivlb7maxrl9ah")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + "--skip=env::test_get_cargo_workspace" + "--skip=utils::test_format_rust_expression") + #:cargo-inputs + (("rust-clap" ,rust-clap-4) + ("rust-console" ,rust-console-0.15) + ("rust-csv" ,rust-csv-1) + ("rust-globset" ,rust-globset-0.4) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-regex" ,rust-regex-1) + ("rust-ron" ,rust-ron-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-similar-asserts" ,rust-similar-asserts-1) + ("rust-similar" ,rust-similar-2) + ("rust-toml" ,rust-toml-0.5) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://insta.rs/") + (synopsis "Snapshot testing library for Rust") + (description + "This package provides a snapshot testing library for Rust.") + (license license:asl2.0))) + (define-public rust-insta-1 (package (name "rust-insta")