From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:50182) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkVl-0008J7-MK for guix-patches@gnu.org; Sun, 26 Apr 2020 12:52:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkVl-0005VP-4r for guix-patches@gnu.org; Sun, 26 Apr 2020 12:52:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSkVk-0005Ua-Iw for guix-patches@gnu.org; Sun, 26 Apr 2020 12:52:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSkVk-0005PT-GT for guix-patches@gnu.org; Sun, 26 Apr 2020 12:52:08 -0400 Subject: [bug#40874] [PATCH 79/94] gnu: Add rust-tokio-mockstream-1. Resent-Message-ID: From: Hartmut Goebel Date: Sun, 26 Apr 2020 18:45:58 +0200 Message-Id: <566f258e6df9c52c52225c4c472c69110075db12.1587919230.git.h.goebel@crazy-compilers.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40874@debbugs.gnu.org * gnu/packages/crates-io.scm (rust-tokio-mockstream-1): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4002672349..6578fa5250 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21129,6 +21129,31 @@ futures efficiently") (description "Mock a Tokio task.") (license license:expat))) +(define-public rust-tokio-mockstream-1 + (package + (name "rust-tokio-mockstream") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-mockstream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mg1i39cl8x32wxwbn74hlirks8a6f3g0gfzkb0n0zwbxwvc9gs1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-0.4)))) + (home-page "https://github.com/aatxe/tokio-mockstream") + (synopsis "Fake stream for testing network applications backed by +buffers") + (description "This package provides a fake stream for testing network +applications backed by buffers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tokio-named-pipes-0.1 (package (name "rust-tokio-named-pipes") -- 2.21.3