From patchwork Fri Jun 17 11:59:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Arazas X-Patchwork-Id: 40073 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 5E9B527BBE9; Fri, 17 Jun 2022 13:02:48 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 7F70C27BBEA for ; Fri, 17 Jun 2022 13:02:47 +0100 (BST) Received: from localhost ([::1]:47088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2AgY-0005PA-Fd for patchwork@mira.cbaines.net; Fri, 17 Jun 2022 08:02:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Ae0-0004np-P0 for guix-patches@gnu.org; Fri, 17 Jun 2022 08:00:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2Ae0-0002EK-4B for guix-patches@gnu.org; Fri, 17 Jun 2022 08:00:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2Ae0-000060-2X for guix-patches@gnu.org; Fri, 17 Jun 2022 08:00:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56037] [PATCH 05/14] gnu: Add rust-snapbox-0.2. Resent-From: Gabriel Arazas Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Jun 2022 12:00:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56037 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56037@debbugs.gnu.org Cc: Gabriel Arazas Received: via spool by 56037-submit@debbugs.gnu.org id=B56037.1655467204308 (code B ref 56037); Fri, 17 Jun 2022 12:00:08 +0000 Received: (at 56037) by debbugs.gnu.org; 17 Jun 2022 12:00:04 +0000 Received: from localhost ([127.0.0.1]:43953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Adu-0008WN-Re for submit@debbugs.gnu.org; Fri, 17 Jun 2022 08:00:03 -0400 Received: from mail-pj1-f45.google.com ([209.85.216.45]:51172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Ads-0008V8-Dc for 56037@debbugs.gnu.org; Fri, 17 Jun 2022 08:00:01 -0400 Received: by mail-pj1-f45.google.com with SMTP id e24so3805694pjt.0 for <56037@debbugs.gnu.org>; Fri, 17 Jun 2022 05:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XldTBrjeWpf56vs4WDI8DKO8tpCoymiuQ//Vhg75s6w=; b=fphjALHobZPX2Z3zldADAU2jjnoBuWK2ATHJFsLMrIe5TxD0DcVjt05FE8qGKkGiMb f2YyfNhr9llmaob7JtTiSBUu8GOveGpmhLdT3Wt0l0pvASA3JFo8OMGjZK6FTtbhYdhg vXAs02+qXWBa83e01ADOIFfjijuOaC8zElbwT0MTU0llcRz3ViMPnp9gdTyqj6nKeCN+ GBcNxy/aB7SYv0ut17r67uYJKO3HbYmW2btv8SRUpfzVMfkV7UZEn/Aa/3BYaiLQQPMM 7YsYG8W3vDE8UEX2JIgiN8ANK6gFdL1Y2b+XTiGjciPHoeY2V8/b0btLKNx1pEuK0WNx jLWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XldTBrjeWpf56vs4WDI8DKO8tpCoymiuQ//Vhg75s6w=; b=4vPqI0idxSoDsxk8eWqHaOKReCXFMRI2+M7q63FSD92mpCAY4++nOhYY7NXO4OBB9Y yejPf+BwJFemFZw451UFdgqw3F0vMAImMmUOt2spQcgBZBvI+63HSFFhQsyib98rgEey oHgT5IfQWogHcKzlZtwnLmEC4e4jsC6gvXIsg6rxyAzoNdmgw4kdh+KqHtH2KfxI+ShJ hUlpSbiFrf87csZWQ4BkeBBR4K9NVv2DBgbjRju8Kyc/YDdel3BLtq90DdcshG47znAK Nmy7JBb/8ek9kvlXJPuU0FuKskroHIstmHAMRC6xfeg1PwnXe2Uu5T6s7AZXrQFsMjlF YzVw== X-Gm-Message-State: AJIora/LBnx3RThMcCpU50ISK1IjNWWesWrGkP5k7hhw+qSql3looSqt P54OX/V2/zpnQvwo43tFr+bXJTzARRY= X-Google-Smtp-Source: AGRyM1vsYB0i6uRkqw9uZfALt/r5rZroOxiKNuSOyZN1srrvVV+3UbcxztkCA7ndlTjz+cwO6WRIRQ== X-Received: by 2002:a17:90b:350d:b0:1e6:7780:6c92 with SMTP id ls13-20020a17090b350d00b001e677806c92mr21305977pjb.46.1655467194547; Fri, 17 Jun 2022 04:59:54 -0700 (PDT) Received: from ni.localhost ([180.190.75.56]) by smtp.gmail.com with ESMTPSA id jh22-20020a170903329600b0015e8d4eb1d3sm1152779plb.29.2022.06.17.04.59.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 04:59:53 -0700 (PDT) From: Gabriel Arazas Date: Fri, 17 Jun 2022 19:59:06 +0800 Message-Id: X-Mailer: git-send-email 2.36.1 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-snapbox-0.2): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aacbcfccf7..f878fb83aa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -57548,6 +57548,44 @@ (define-public rust-snap-0.2 ("rust-lazy-static" ,rust-lazy-static-1) ("rust-snappy-cpp" ,rust-snappy-cpp-0.1)))))) +(define-public rust-snapbox-0.2 + (package + (name "rust-snapbox") + (version "0.2.10") + (source (origin + (method url-fetch) + (uri (crate-uri "snapbox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14zxmsi4k9a9vgp9vs1q62ff1k57p26rwp5xs6f9bdijl9fisykn")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) ("rust-concolor" ,rust-concolor-0.0.8) + ("rust-content-inspector" ,rust-content-inspector-0.2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-dunce" ,rust-dunce-1) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.3) + ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-similar" ,rust-similar-2) + ("rust-snapbox-macros" ,rust-snapbox-macros-0.2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-wait-timeout" ,rust-wait-timeout-0.2) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-yansi" ,rust-yansi-0.5)))) + (home-page "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox") + (synopsis "Snapshot testing toolbox") + (description + "This package provides a snapshot-testing toolbox that +captures from a variety of functions including from CLI stdout/stderr, +function return values, and filesystem changes.") + (license (list license:expat license:asl2.0)))) + (define-public rust-snapbox-macros-0.2 (package (name "rust-snapbox-macros")