From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qLsNJAogM2GGTwEAgWs5BA (envelope-from ) for ; Sat, 04 Sep 2021 09:28:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iD4kHwogM2FUNgAA1q6Kng (envelope-from ) for ; Sat, 04 Sep 2021 07:28:10 +0000 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 425CEEB2F for ; Sat, 4 Sep 2021 09:28:10 +0200 (CEST) Received: from localhost ([::1]:46490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMQ5x-0002VT-Bm for larch@yhetil.org; Sat, 04 Sep 2021 03:28:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMQ5q-0002VH-Cw for guix-patches@gnu.org; Sat, 04 Sep 2021 03:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMQ5q-0003Kz-5l for guix-patches@gnu.org; Sat, 04 Sep 2021 03:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMQ5p-0002fu-NA for guix-patches@gnu.org; Sat, 04 Sep 2021 03:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50367] [PATCH 06/22] gnu: Add rust-mockall-0.10. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Sep 2021 07:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50367 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "50367@debbugs.gnu.org" <50367@debbugs.gnu.org> Received: via spool by 50367-submit@debbugs.gnu.org id=B50367.163074047110264 (code B ref 50367); Sat, 04 Sep 2021 07:28:01 +0000 Received: (at 50367) by debbugs.gnu.org; 4 Sep 2021 07:27:51 +0000 Received: from localhost ([127.0.0.1]:46386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMQ5e-0002fT-Vl for submit@debbugs.gnu.org; Sat, 04 Sep 2021 03:27:51 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:16767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMQ5d-0002fC-AO for 50367@debbugs.gnu.org; Sat, 04 Sep 2021 03:27:49 -0400 Date: Sat, 04 Sep 2021 07:27:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1630740462; bh=GxKWiIIZzfovTeHAxCKe2tuo2wfHlfVJewLcdXV/B0U=; h=Date:To:From:Reply-To:Subject:From; b=x0FyrQZUv9F19Is9wymIOa63FsjiwpzzndCwFiBGHe8Ifk16BIYtuM615hxPXym/x OtEW+pZ805RTk8VShbcP+F/nvC9TKHTqP49XwxKmN9Wz6VlYbK8fmt1SAR9HAHiEHD aoiXyaDbs7FvsnyE7ch4oAs1d4Lf1VlO+VPGAXjM= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630740490; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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:dkim-signature; bh=GxKWiIIZzfovTeHAxCKe2tuo2wfHlfVJewLcdXV/B0U=; b=OPdJp8p7jvqVJfmw9ZzP9wlR7XIad+G4u9U+IgsSMBlYyMqwTG7Q653hHbPQn/V/krSL05 MWZqkrn5sfKvAN9QEMs6HUcbMVQi7ZRB0RlsWg+51Uw9FAYpjYy1Y1fPrlBicRwhIM2yID hJDVnORAq2JojmyZtQwrOZNXUO6J0wxVRARH6LHNit736RT8FVc2z0VIzjo61JKFArBdia A9hqrCF1D8JfV5C1OPABCcmgpKyhFlQS5H+W2/WNXub8f+NElMoNW8JH8e0w91Pmq7A+7G ZqCfQx9/le5GDyziHydRFRUFxotnoCEcF4FAJ2WRnlKBoes4FD3IkoXxE6aYug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630740490; a=rsa-sha256; cv=none; b=i7B8zi+oeFuUE6axB88G5V/cYkhwEn9wpUe4H8Ag+msnod034k1T2C/0aPS8VhUeOdhvRm lMFIT1CSJIUbXvXnw5+dEua+tKenyqES2SboVppsZp0nvoVvbSimEolgCjbAfmtyBCA8Rn Ig3ZezWT2Mi+ne/Zrc97SPNNF8gz2V4d2c4fsCNdg7FZ/lNVTEwSMu/EHEvtg4Qp1aWf17 FAiKlTRX1Pg/ma9F10cEX6uB9CJC0KK/ypqcbyXA+DSUEjBc/e/cK5kbaksEG/IiszwW5R iRet5RyqzZpJVmyKZi4BPSAP/Lva0gFaqYd7aFwJNVclrouU+RMlljOKbkzWtA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=x0FyrQZU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=x0FyrQZU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 425CEEB2F X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: K1TXLcIZ8UJG * gnu/packages/crates-io.scm (rust-mockall-0.10): New variable. diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c4ea7fcac0..df8d324432 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27760,6 +27760,48 @@ IOCP and Async I/O abstractions.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-mockall-0.10 + (package + (name "rust-mockall") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mockall" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h4s2bpkkm0zyd6mnc3718p0ysmcxyiwrjlk4hrawy7si8r73dba")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-downcast" ,rust-downcast-0.10) + ("rust-fragile" ,rust-fragile-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-mockall-derive" ,rust-mockall-derive-0.10) + ("rust-predicates" ,rust-predicates-1) + ("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.2) + ("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 + "This package provides a powerful mock object library for Rust. +") + (license (list license:expat license:asl2.0)))) + (define-public rust-mockall-derive-0.10 (package (name "rust-mockall-derive") -- 2.32.0