From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:48696) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkTj-00047l-Vd for guix-patches@gnu.org; Sun, 26 Apr 2020 12:50:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkTj-0003dJ-C3 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSkTi-0003d8-UP for guix-patches@gnu.org; Sun, 26 Apr 2020 12:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSkTi-000511-RS for guix-patches@gnu.org; Sun, 26 Apr 2020 12:50:02 -0400 Subject: [bug#40874] [PATCH 40/94] gnu: Add rust-http-body-0.3. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:47760) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkSU-0000YV-Ah for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkST-0001lO-3v for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:46 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:54709) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSkSS-0001fR-79 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:44 -0400 From: Hartmut Goebel Date: Sun, 26 Apr 2020 18:45:19 +0200 Message-Id: <3403ff0673b06ddf010efe0a3435d26c73c3eb38.1587919229.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-http-body-0.3): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ea70bc9f85..631749d6b8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8838,6 +8838,29 @@ requests and responses.") ("rust-serde" ,rust-serde-1.0) ("rust-serde-json" ,rust-serde-json-1.0)))))) +(define-public rust-http-body-0.3 + (package + (name "rust-http-body") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-body" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06qi0ni45lb92w3ml260c0bxbq5zd4snjmz0a9k69xq6021zzm8k")))) + (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-http" ,rust-http-0.2)))) + (home-page "https://github.com/hyperium/http-body") + (synopsis "Asynchronous, streaming, HTTP request or response body") + (description "Trait representing an asynchronous, streaming, HTTP request +or response body.") + (license license:expat))) + (define-public rust-http-req-0.5 (package (name "rust-http-req") -- 2.21.3