From patchwork Sun Feb 18 21:08:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 60721 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 D7C3E27BBE2; Sun, 18 Feb 2024 21:34:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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 524D127BBED for ; Sun, 18 Feb 2024 21:34:08 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbolY-0005W9-7t; Sun, 18 Feb 2024 16:32:04 -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 1rbolL-0005Hq-41 for guix-patches@gnu.org; Sun, 18 Feb 2024 16:31:51 -0500 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 1rbolJ-0002ZQ-Qp for guix-patches@gnu.org; Sun, 18 Feb 2024 16:31:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbole-0004Pi-G1; Sun, 18 Feb 2024 16:32:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH 124/228] gnu: Add rust-wiremock-0.5. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 21:32:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Herman Rimm , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.170829190116588 (code B ref 69257); Sun, 18 Feb 2024 21:32:10 +0000 Received: (at 69257) by debbugs.gnu.org; 18 Feb 2024 21:31:41 +0000 Received: from localhost ([127.0.0.1]:39438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbolB-0004JO-8o for submit@debbugs.gnu.org; Sun, 18 Feb 2024 16:31:41 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:43013 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboRa-0003Ez-IS for 69257@debbugs.gnu.org; Sun, 18 Feb 2024 16:11:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1708290659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zK+qQaESQ1ybQbsB7SNhY5f0AZsfnMKVyp+8Dvfr4kM=; b=l8eH03CiE/APzBxzPZXXJz5gTvDd81riiOk0sBS6zGgjJAfn3zusoboXNlIwX0Q10zZXPZ G6i/Lcq+KOAw/QRgU7vJ4HpalaTpTWuNacwXJ7o8HAmauEcNCB9fxcYOy2JLzSbdkPQfZw 89RPpJGu6PEk1l8zGDUAqzOl1PDeFojTn1U/EZ4DSuM9s35pJceOk9ZpUzokKUUblI02TM ZwP9CvJ23xDiCRvZrpInwdripvj3bZnYCLyt+GI5848yTxszdx6tKFz7Vqn7xSGiNiyT5D 1Qne5wJ3nSrNNBNazJlD/p5eQ45eaER8ScO/Slf+KaBKL6MyeNh9h4bsY2q/3w== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id bb546336 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 18 Feb 2024 21:10:59 +0000 (UTC) Date: Sun, 18 Feb 2024 22:08:14 +0100 Message-ID: <485f79b935ef669e217b34cbdcf2819f0c496ca7.1708288186.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-wiremock-0.5): Add variable. Change-Id: I7622ce52de5d7ea2a9363f37b88e06c7f0c5ab54 --- gnu/packages/crates-web.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 2865501278..257e16fd1c 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -6257,3 +6257,42 @@ (define-public rust-webview-sys-0.6 implementation of webview, a tiny cross-platform library to render web-based GUIs as desktop applications.") (license license:expat))) + +(define-public rust-wiremock-0.5 + (package + (name "rust-wiremock") + (version "0.5.22") + (source + (origin + (method url-fetch) + (uri (crate-uri "wiremock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sf2adr5q3xqrj4sa89fmbr5vl3x51wb1cfp63fr1wrlmwzab8qk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-deadpool" ,rust-deadpool-0.9) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-http-types" ,rust-http-types-2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-isahc" ,rust-isahc-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-surf" ,rust-surf-2) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/LukeMathWalker/wiremock-rs") + (synopsis "HTTP mocking to test Rust applications.") + (description "This package provides HTTP mocking to test Rust +applications.") + (license (list license:expat license:asl2.0))))