From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:50666) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkWe-00021e-1x for guix-patches@gnu.org; Sun, 26 Apr 2020 12:53:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkWd-0006zz-8M for guix-patches@gnu.org; Sun, 26 Apr 2020 12:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSkWc-0006zd-P1 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSkWc-0005Uj-MW for guix-patches@gnu.org; Sun, 26 Apr 2020 12:53:02 -0400 Subject: [bug#40874] [PATCH 81/94] gnu: Add rust-tokio-test-0.2. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:49714) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkUu-0006u8-VJ for guix-patches@gnu.org; Sun, 26 Apr 2020 12:51:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkUu-0004ii-6d for guix-patches@gnu.org; Sun, 26 Apr 2020 12:51:16 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:56865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSkUt-0004hn-Jq for guix-patches@gnu.org; Sun, 26 Apr 2020 12:51:15 -0400 From: Hartmut Goebel Date: Sun, 26 Apr 2020 18:46:00 +0200 Message-Id: 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-test-0.2): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 183d1d5cc7..8d65c13fce 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21354,6 +21354,32 @@ futures.") (description "Synchronization utilities.") (license license:expat))) +(define-public rust-tokio-test-0.2 + (package + (name "rust-tokio-test") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v81p2n853b1kzyla3dbfmnazirn6s3n8p3z8k20bmdn370lj07d")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ;; FIXME requires Rust >= 1.39 for building + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-tokio" ,rust-tokio-0.2)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-tokio" ,rust-tokio-0.2)))) + (home-page "https://tokio.rs") + (synopsis "Testing utilities for Tokio- and futures-based code") + (description "Testing utilities for Tokio- and futures-based code") + (license license:expat))) + (define-public rust-tokio-tcp-0.1 (package (name "rust-tokio-tcp") -- 2.21.3