From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EFFeBF217mM7vQAAbAwnHQ (envelope-from ) for ; Thu, 16 Feb 2023 23:59:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EL8iBF217mOqvQAAauVa8A (envelope-from ) for ; Thu, 16 Feb 2023 23:59:41 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E2D9D18FAC for ; Thu, 16 Feb 2023 23:59:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSnDW-0000hj-4E; Thu, 16 Feb 2023 17:59:06 -0500 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 1pSnDU-0000h8-IY for guix-patches@gnu.org; Thu, 16 Feb 2023 17:59:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSnDU-0002ks-Ax for guix-patches@gnu.org; Thu, 16 Feb 2023 17:59:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSnDU-0002wS-7J for guix-patches@gnu.org; Thu, 16 Feb 2023 17:59:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61565] [PATCH 5/5] gnu: Add rust-mockall. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Feb 2023 22:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61565@debbugs.gnu.org Cc: Efraim Flashner , Steve George X-Debbugs-Original-To: Guix patches list Received: via spool by submit@debbugs.gnu.org id=B.167658833711251 (code B ref -1); Thu, 16 Feb 2023 22:59:03 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2023 22:58:57 +0000 Received: from localhost ([127.0.0.1]:37925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnDN-0002vO-20 for submit@debbugs.gnu.org; Thu, 16 Feb 2023 17:58:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:44434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnDM-0002vH-1b for submit@debbugs.gnu.org; Thu, 16 Feb 2023 17:58:56 -0500 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 1pSnDL-0000LO-No for guix-patches@gnu.org; Thu, 16 Feb 2023 17:58:55 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSnDK-0002iZ-1P for guix-patches@gnu.org; Thu, 16 Feb 2023 17:58:55 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1pSnDI-002GSx-N3; Thu, 16 Feb 2023 23:58:52 +0100 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pSnDI-0006lk-G8; Thu, 16 Feb 2023 23:58:52 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pSnD9-0002x3-V4; Thu, 16 Feb 2023 23:58:44 +0100 From: Steve George Date: Thu, 16 Feb 2023 22:57:42 +0000 Message-Id: <20230216225742.106916-5-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216225742.106916-1-steve@futurile.net> References: <20230216225742.106916-1-steve@futurile.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: permerror client-ip=2a0c:5a00:149::26; envelope-from=steve@futurile.net; helo=mailtransmit05.runbox.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676588380; a=rsa-sha256; cv=none; b=gNIhplXev0nxmcP/XT5W9T1TZWKz0BGgD6A8rd3Bzn4AfyE8HET1PJACmN8tfMp8c/FOc7 HhT1gCJu0BKSX3/Yo4koGx2zuUFUlj89yvvQj5B4vDBBrGikTmsR/YnCj1slxf3OtVeu/k F9ghqERTjmvzSY35MmInqIp8RI14m0BMBGgOB7slfRxKPzuDYmJ64D4hjDS6puTLPL6E8S eEjVEIvuPkwgQZj0mD+v1tDjTbS9uo1WhVmMFQoUOKDZVG4zIof9eijogIaGRfEBYBzLxu oORQSRHg88kAMc6WfIofu5tT+aQtKXZlV5ebVJqgCPTMlW9c4t76NxxcQ6jCyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676588380; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=gw/zfvq3kDkRP5N5QOEG/dYVNpM5Wc0uqadEfkm+jpY=; b=rAHA47JWgUxyu0q9ZfPMUUgvv8ah3C+Y0Zxdx1MMT36zDRHdQK77/JyPWHHp2Y4DsjVvOR +QFTpa0XLynncm0igKwBaSRL/FZkPp1ARVpqb7v2cNQEUJ/GJQdS5VA1GocIKQ+rmAlJ2x n628v5GuknR/Gdp2y3sHzFAb/vFbDBg0Tih2ilKaU3AScpTUPkK37F9QHEdQGTRkYhtnXy cHn8I74WMelobhif5rDzFMUHNXaanvhBQoNtnS5f6U/LQpUUq5WEPGA+2xDv+JzmweiWU1 +xW3up47SxBDbjMJtTifED20yrqB/AK4Cv9zXkZhoUj7vAT2wHIMZmMyzo40KA== Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -0.42 X-Spam-Score: -0.42 X-Migadu-Queue-Id: E2D9D18FAC X-Migadu-Scanner: scn1.migadu.com X-TUID: EXzWGGHwlWlS * gnu/packages/crates-io.scm (rust-mockall-0.11): New variable. --- gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9ce18ea1f0..cb19edaf83 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33760,6 +33760,42 @@ (define-public rust-mockall-double-0.3 select the mock struct at compile time. Used with the Mockall crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-mockall-0.11 + (package + (name "rust-mockall") + (version "0.11.1") + (source (origin + (method url-fetch) + (uri (crate-uri "mockall" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0k3g3xxf195vsnzmwza047dv89zlg6h5yj5774wjlndgpdvf8han")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-downcast" ,rust-downcast-0.11) + ("rust-fragile" ,rust-fragile-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-mockall-derive" ,rust-mockall-derive-0.11) + ("rust-predicates" ,rust-predicates-2) + ("rust-predicates-tree" ,rust-predicates-tree-1)) + #:cargo-development-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-mockall-double" ,rust-mockall-double-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/asomers/mockall") + (synopsis "Powerful mock object library for Rust") + (description "Mockall is a rich mocking library with a terse and ergonomic +interface. It is written in 100% safe and stable Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-mockall-derive-0.11 (package (name "rust-mockall-derive") -- 2.39.1