From patchwork Sun Mar 30 12:26:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 41016 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 8ABBD27BBEA; Sun, 30 Mar 2025 13:30:28 +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.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_SBL_CSS,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 0F39E27BBE2 for ; Sun, 30 Mar 2025 13:30:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyrnm-0003rx-IQ; Sun, 30 Mar 2025 08:30:10 -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 1tyrnk-0003ks-5O for guix-patches@gnu.org; Sun, 30 Mar 2025 08:30:08 -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 1tyrnj-0000KO-Es for guix-patches@gnu.org; Sun, 30 Mar 2025 08:30:07 -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=QgvhV+IuIi4nqtgBt3YANqTR7SS5XnIFgEWsyL9Neuo=; b=uN/RzumRkfBB5dMlHf/zn3VmnOGDKN+eiWJKRbEwgvSCCV/KDgnSM68GlO6k8LGHpiNB+gyny4m5+PZPdnl14jY4nWDilTCrQXIaMvK9ZdbQbnW/v167OGnLK1wuQxbabfR4xVRngsIP2L3DuZzg71ttNp/FvnKxs0Pcpqz+z5+7/5bd6mefGiaeKEVwjr7Q+Or+BPKqf+XDSvr7JTFpFSRSASZieN3LDPR+AT8eAjImZKsXdViuEAaZ/5LWVslaeVRXCUPxl0R/Vwhqrtg2oebLypTuqqz65kMI/TjUbvJo7Er1X0zUe/53yoVhvBvihGL3lW/+JckGivxXdGY05Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyrnj-0005it-20; Sun, 30 Mar 2025 08:30:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77382] [PATCH rust-team 16/18] gnu: Add rust-mockito-0.32. Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Sun, 30 Mar 2025 12:30:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77382 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77382@debbugs.gnu.org Cc: Gabriel Santos , Divya Ranjan Pattanaik , Efraim Flashner , Steve George X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik , Efraim Flashner , Steve George Received: via spool by 77382-submit@debbugs.gnu.org id=B77382.174333777121769 (code B ref 77382); Sun, 30 Mar 2025 12:30:06 +0000 Received: (at 77382) by debbugs.gnu.org; 30 Mar 2025 12:29:31 +0000 Received: from localhost ([127.0.0.1]:35252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyrn8-0005ex-W1 for submit@debbugs.gnu.org; Sun, 30 Mar 2025 08:29:31 -0400 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:58554) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tyrn2-0005du-IG for 77382@debbugs.gnu.org; Sun, 30 Mar 2025 08:29:25 -0400 Received: by mail-pl1-x641.google.com with SMTP id d9443c01a7336-2264aefc45dso95145645ad.0 for <77382@debbugs.gnu.org>; Sun, 30 Mar 2025 05:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743337758; x=1743942558; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QgvhV+IuIi4nqtgBt3YANqTR7SS5XnIFgEWsyL9Neuo=; b=NG7UBGaTGA6KFFNVORFs4DDcMoNmZ7N/crodXVnLvjWJcVqT67bytdcDZ2h9iaJdyD 0jxMh3MF9YuKc2M8xlKSZKgSa+pD3WKI4I646pjWjEbJjbpH07kj2NriyNgQQSQDB3ui WTTmL9tsSTc/Y1/OoMhL/JUuPoADzT9fvVNruIB1dEn42vmhZeb+nPYlxNajgf/W+n/n 3kqRTQ+FB+L+bDYbJKEAOL1s5Nu4xK09vtWN5Zc8EKaoDbi8rIVULKBnUK5AMCVzznKP 8zjUrw5Q7YFwtah3W6KtHl8UI1kdHwr+WSl/l1REG3G9dWY7nVlIzlJeDiHckK+qyeAE 2/Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743337758; x=1743942558; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QgvhV+IuIi4nqtgBt3YANqTR7SS5XnIFgEWsyL9Neuo=; b=fONHztpEvazVeQ42Qqd70dOGTK2GBzRA3dBJecB0DSOvlLd+stwyiqvBNb8ejaxKQZ zyTbNyg9DHoZfVKZfN7z9gyALrCLJIy64bZm9oQhtz25liTG0i3O+g8KZqqlWRDQp4SO kpDm988iLqCdjnLtIuzkgac90OgDqKQX5tsPQOaPfEUqU5zWz3+hIo/y2w4+PNxdU+hn BrUWjhbuFCAh7kE78MI6uUEkW3GQxuvfwD72xSFP6SWmwnSv2GM75X1VFwhYrfPqjG8j bfpVN5OO0870pLQyXaPCRsduwk9eFDNwWY++BFC/XTO9lkebrpU/StdVLmqHCsiq201u ChdA== X-Gm-Message-State: AOJu0YwFQVbzSh49HaobL5MZgwAzJLEmZ7hpocQPVMiN3HafnCcF9mXX gsg5cctMmolWWKbJQJKsmNuSxOZIu/2Yskhg4/kQbwewmgpaCkIhRWX5qNX2 X-Gm-Gg: ASbGnctBcIfmn6FjVlnmkijEgK5dngTHUMoeOrl7hfWA3VvMDt3MADCkncf9jShSdUq ngYERYxNM4pMU+AkKMkuwLejKHVJHhpAV+GNdSv1J/e6GuJ6IBP846LWgcfHwYCo69oyPPEx/OC ajvaF+CrCVY81I8URyeXgbb2nj5BVC4GyRaAMUOPtpqC5i0J1seBv7N1vEhnPwUkyx4XVfTSTKW awrA5wom6I9iSdFE1wHNJhFLqfDMlGQzqFohgPRNkx0EbQEmlWlv/M/aeax0z59qCzHQ8yQwTVD BWNBiFng3wmZ0esK67P6fxOF6tmFYpVVCbXPY8AHhab02ofbEneD33eE0I81cOlkVp6ao7RlHhE bkimVg/jEyA== X-Google-Smtp-Source: AGHT+IE04WpmyyhlkoVWwVOTkNlqK7WQ8vDtAncjiM1PK2ishGhIpYh4PXCbG//2kLE+WkPlr+mzFg== X-Received: by 2002:a05:6a00:1956:b0:736:ab49:a6e4 with SMTP id d2e1a72fcca58-7398033f0d2mr8613285b3a.1.1743337758368; Sun, 30 Mar 2025 05:29:18 -0700 (PDT) Received: from localhost (177-70-169-245.infotec.psi.br. [177.70.169.245]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7398cd1cc3dsm1840312b3a.80.2025.03.30.05.29.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Mar 2025 05:29:18 -0700 (PDT) From: Gabriel Santos X-Google-Original-From: Gabriel Santos Date: Sun, 30 Mar 2025 09:26:31 -0300 Message-ID: <6fcd638b4437e5114fbaaa316a86eee781325be7.1743337577.git.gabrielsantosdesouza@disroot.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <8594394ec2901f9d339a56f01607b7465d4c3a9d.1743337576.git.gabrielsantosdesouza@disroot.org> References: <8594394ec2901f9d339a56f01607b7465d4c3a9d.1743337576.git.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: , 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-web.scm (rust-mockito-0.32): New variable. Change-Id: If3fe7bf428e9d495d2bfe3942e5cb5ede58c9d6b --- gnu/packages/crates-web.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 8d567fc94f..7de3097edb 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Nguyễn Gia Phong ;;; Copyright © 2025 Ricardo Wurmus +;;; Copyright © 2025 Gabriel Santos ;;; ;;; This file is part of GNU Guix. ;;; @@ -5256,6 +5257,42 @@ (define-public rust-mockito-1 (description "This package provides HTTP mocking for Rust.") (license license:expat))) +(define-public rust-mockito-0.32 + (package + (inherit rust-mockito-1) + (name "rust-mockito") + (version "0.32.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "mockito" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17zzlkhl4whqd9f97wsjk9ypl5n2ipyph2dv3775ka55imv46vs0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=test_assert_with_last_unmatched_request" + "--skip=test_assert_with_last_unmatched_request_and_headers" + "--skip=test_legacy_assert_with_last_unmatched_request" + "--skip=test_legacy_assert_with_last_unmatched_request_and_headers") + #:cargo-inputs (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-colored" ,rust-colored-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-similar" ,rust-similar-2) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-reqwest" ,rust-reqwest-0.11) + ("rust-testing-logger" ,rust-testing-logger-0.1)))))) + (define-public rust-multipart-0.18 (package (name "rust-multipart")