From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2GCbIah30mWJWQAAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Feb 2024 22:33:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2GCbIah30mWJWQAAqHPOHw (envelope-from ) for ; Sun, 18 Feb 2024 22:33:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=cijrsc8j; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708292008; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=ONvouwfeVGs0y9DmEmyY5RcMFuc7kZrbGzl4gmPtbWo=; b=n1H5PZUO79U4keM/+1vQpgTf29ojDCWM3sbUGdfXzc/4Pu1mls/+0pGvsSWXXxFKIhYfR7 ayfCMQSBdiY68kTIa6Wpq5kBqkhQsCtUObeZ58KdQSmWgZeaPH+k3H6cJazitc1qT6gat4 4Da7GT2RQkvCiQpG2NenW02a/74nrJPUDg8cIWo3j20T3hY8MUk9BBCCyUdA8jpGIyPxZ4 aoJiJ4wiwCUaaL5yY4RAE/ErLTSXeI02QAcrw2gsOpePjB5+pGS0YZMDUsJtjfKnARCaA7 JugncEtQbxglY/YQ97ogL0/MvWNgOZ2+gqINwcPMhHmPDW1wHagZOSfeIAyFfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=cijrsc8j; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708292008; a=rsa-sha256; cv=none; b=FMrU/9MwM8cVXl0jkeiHFhVsQ/3mdPiXmRkEXh8IdmmnH/3UttmEWxXkMUC3VcCuyaIh+1 Z4F2dU1JGdV2eDSnF1xqXROVcBCnhDJKGH/FKJjV8fYHvtIJPGxWRCNekZ2NDqXbPmRhcN TxhEPuG4w9XsTllYkbNgbLwX/9+aOTykNdyyTzZnyZoeGlveZ+jExhvWPc5OnIhgSvnllx GITeFjpg1kWkj1d3Fgx5LcNhRc4Rdcnw4xXIuSott0VWe31njI/p1F4LxTk+PiVIiJs9CR ljAh5DwBhf6xZdn+qQmHnJcmiFDE6hzhts/5Ta8DtUZKDokRzuGLt1bf1OhcWA== 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 6E42640701 for ; Sun, 18 Feb 2024 22:33:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbolO-0005LH-Qt; Sun, 18 Feb 2024 16:31:54 -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 1rbolH-0005Fg-2k for guix-patches@gnu.org; Sun, 18 Feb 2024 16:31:48 -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 1rbolC-0002VV-TV for guix-patches@gnu.org; Sun, 18 Feb 2024 16:31:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbolX-0004NQ-IJ; Sun, 18 Feb 2024 16:32:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH 054/228] gnu: Add rust-http-body-1. 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:03 +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.170829187616128 (code B ref 69257); Sun, 18 Feb 2024 21:32:03 +0000 Received: (at 69257) by debbugs.gnu.org; 18 Feb 2024 21:31:16 +0000 Received: from localhost ([127.0.0.1]:39408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbokm-0004Bl-5d for submit@debbugs.gnu.org; Sun, 18 Feb 2024 16:31:16 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:47919 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboO1-0002u0-7m for 69257@debbugs.gnu.org; Sun, 18 Feb 2024 16:07:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1708290436; 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=ONvouwfeVGs0y9DmEmyY5RcMFuc7kZrbGzl4gmPtbWo=; b=cijrsc8jmi4qHfYtt0Mcg941racZiqpP0FxJtiBL3l56PI2T+89vG7J5ISKNWTvFWm+kOp eIsQ2TRSoNAUV6g4L+DE1M9LIa5OZNkegjraxwxb2wlLjhq9WD5qNj068j4jX0ltKDfN64 kKwfCA5NXUBJJMf16OFEoiT7kaM7rHrEepscQVcrN1wOVJFckJMTS+mTZAFeEQS3ixhu9v +Ue/8V2O1unrFBQfP4+70HXxmZ5JsqBxBgXTAk+eCkP8aOzgAIiiWzVe0C14/BhMhPXitT 6S43Bu5pWGvle/cYlWMI5Nl8D3ITd4XW14DVopa8ppqELudLov/0bxHuk4plfA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id d8d983bf (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 18 Feb 2024 21:07:16 +0000 (UTC) Date: Sun, 18 Feb 2024 22:02:52 +0100 Message-ID: <7ae71290d2cc910170885a9d1dc5c798a18765f5.1708288184.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.48 X-Spam-Score: -6.48 X-Migadu-Queue-Id: 6E42640701 X-Migadu-Scanner: mx13.migadu.com X-TUID: tWVTiWhFL0t7 * gnu/packages/crates-web.scm (rust-http-body-1): Add variable. (rust-http-body-0.4): Inherit rust-http-body-1. Change-Id: I9616eb39dd18c5a9d9b366a4942614558dca61cc --- gnu/packages/crates-web.scm | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 6650c26913..b0b431ff88 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2278,8 +2278,32 @@ (define-public rust-http-auth-0.1 extended with server support and additional auth schemes.") (license (list license:expat license:asl2.0)))) +(define-public rust-http-body-1 + (package + (name "rust-http-body") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-body" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hyn8n3iadrbwq8y0p1rl1275s4nm49bllw5wji29g4aa3dqbb0w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-http" ,rust-http-1)))) + (home-page "https://github.com/hyperium/http-body") + (synopsis "Trait representing an asynchronous, streaming, HTTP request +or response body") + (description + "This package provides a trait representing an asynchronous, streaming, +HTTP request or response body.") + (license license:expat))) + (define-public rust-http-body-0.4 (package + (inherit rust-http-body-1) (name "rust-http-body") (version "0.4.6") (source @@ -2289,18 +2313,11 @@ (define-public rust-http-body-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1lmyjfk6bqk6k9gkn1dxq770sb78pqbqshga241hr5p995bb5skw")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bytes" ,rust-bytes-1) - ("rust-http" ,rust-http-0.2)))) - (home-page "https://github.com/hyperium/http-body") - (synopsis "Asynchronous, streaming, HTTP request or response body") - (description - "This crate provides a trait representing an asynchronous, streaming, -HTTP request or response body.") - (license license:expat))) + ("rust-http" ,rust-http-0.2)))))) (define-public rust-http-body-0.3 (package -- 2.41.0