From patchwork Sun Jun 19 17:27:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: antlers X-Patchwork-Id: 40178 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 043F527BBEA; Sun, 19 Jun 2022 18:32:40 +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 AB75727BBE9 for ; Sun, 19 Jun 2022 18:32:39 +0100 (BST) Received: from localhost ([::1]:37496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2yms-0006m7-Sc for patchwork@mira.cbaines.net; Sun, 19 Jun 2022 13:32:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2yjT-0003zx-BO for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2yjT-0004J6-2u for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2yjT-0006RQ-08 for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56057] [bug #56057] [PATCH v2 16/21] gnu: Add rust-pretty-assertions-1.2. Resent-From: antlers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jun 2022 17:29:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56057@debbugs.gnu.org Cc: antlers Received: via spool by 56057-submit@debbugs.gnu.org id=B56057.165565969124551 (code B ref 56057); Sun, 19 Jun 2022 17:29:06 +0000 Received: (at 56057) by debbugs.gnu.org; 19 Jun 2022 17:28:11 +0000 Received: from localhost ([127.0.0.1]:53052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yiZ-0006Nm-LL for submit@debbugs.gnu.org; Sun, 19 Jun 2022 13:28:11 -0400 Received: from mail-pj1-f41.google.com ([209.85.216.41]:35515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yiQ-0006KD-Qx for 56057@debbugs.gnu.org; Sun, 19 Jun 2022 13:28:03 -0400 Received: by mail-pj1-f41.google.com with SMTP id x1-20020a17090abc8100b001ec7f8a51f5so4739641pjr.0 for <56057@debbugs.gnu.org>; Sun, 19 Jun 2022 10:28:02 -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=cy8J3Xk0nXwscAlCqil3PqWJ8fCrcxKJ3lWudDjIaBw=; b=TXIQQokHQ/N7/4BOBXKF/CeqWrsmh9+zGbFwGFL4lIYGs1KkZcsZBeojCp338oeY2I l/ANv6zA4EffYs61BHYScJk6K+j+X8tJXkfT/XERQK0h191KPuk90NEmIhfACQZ8vRJW iuTnD7Hw3A5kW3Gz8fezyGiI/AxKD9mtqN6i4uh97DyKbM2rfaLyCv8OeTNJa2Uo8H1j lVE5UDfASh7YQUr2eZF5UVEXSdfqz9QMTIzYQWU4De5FbOwGb51dpTuc5yKE6msCuJUo vi7Ps+cHATmf46o6VsmW8Uk8fVU/tNCmilTKoAxY69d62EpdWUkkhQ5RHSc7+AwdeOHa AVLw== 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=cy8J3Xk0nXwscAlCqil3PqWJ8fCrcxKJ3lWudDjIaBw=; b=YEZuICmZqAsjDFq24Bue5g+As0NN4iRQdbXHMEhO+Ow7oBXZZtHyW1OcJH5V3u7ARI 0OoYpJXd8C7E+ygOyOlN5Zkl35aWQY2iTD4ls87h+7p6eQKwAJb7ajO/HBmZ0lZKKbmK ZlZaSgV8SD1astAvFzpwkiYFtdNAFxGiivI70yXaLhNY5Wq159JgYUpccfL+rYckBWJQ FKXTJVn6QTQL5nfBShZqFBI/Uw6N21+U3B/TaIjUGuhGCu68otMc5S3XVsiUiLbis5aG CtpWW85A4u9Ffd7+zPkCcozCU5mLxFFURas/rNQU1RCReqPMB/Ws4Q++wMGYoST5FZ9g Xw5w== X-Gm-Message-State: AJIora+oFAm6jYWcaz4wuRNIYlVVWv3Sj5Pvoio9fIq2tazyXF/lxHot VfZxQ2TSReZrpc1G2ZsAkg+evHeT7gA= X-Google-Smtp-Source: AGRyM1tfCRhX+2NZYHDabe9z2mM43ijbmXwwY/4toNe52x6ekUb9mcMpbiAnzbDTHWNcukGXKG3wsQ== X-Received: by 2002:a17:902:d701:b0:16a:2206:9ba8 with SMTP id w1-20020a170902d70100b0016a22069ba8mr2388566ply.168.1655659677092; Sun, 19 Jun 2022 10:27:57 -0700 (PDT) Received: from tower.hitronhub.home (24-113-171-200.wavecable.com. [24.113.171.200]) by smtp.gmail.com with ESMTPSA id o68-20020a62cd47000000b005251e2b53acsm1204051pfg.116.2022.06.19.10.27.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 10:27:56 -0700 (PDT) From: antlers X-Google-Original-From: antlers Date: Sun, 19 Jun 2022 10:27:06 -0700 Message-Id: <20220619172711.3413-17-antlers@luris.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220619172711.3413-1-antlers@luris.net> References: <79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be> <20220619172711.3413-1-antlers@luris.net> 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-pretty-assertions-1.2): New variable. --- :100644 100644 23679744fa 790c53b4cd M gnu/packages/crates-io.scm gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 23679744fa..790c53b4cd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -44893,6 +44893,33 @@ (define-public rust-pretty-0.5 (("rust-termcolor" ,rust-termcolor-0.3) ("rust-typed-arena" ,rust-typed-arena-1)))))) +(define-public rust-pretty-assertions-1.2 + (package + (name "rust-pretty-assertions") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty_assertions" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qrmkdwqn56af498vi8zjyq44wzcyvj5ic1dv54d01s2r6d9i7y8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-ctor" ,rust-ctor-0.1) + ("rust-diff" ,rust-diff-0.1) + ("rust-output-vt100" ,rust-output-vt100-0.1)))) + (home-page "https://github.com/colin-kiegel/rust-pretty-assertions") + (synopsis "Drop-in replacements for assert_eq! and assert_ne!") + (description + "Overwrite @code{assert_eq!} and @code{assert_ne!} with drop-in +replacements, adding colorful diffs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pretty-assertions-0.7 (package (name "rust-pretty-assertions")