From patchwork Sun Feb 18 21:02:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 60750 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 C0A9027BBEC; Sun, 18 Feb 2024 21:35:30 +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 C302027BBE9 for ; Sun, 18 Feb 2024 21:35:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbooD-00022v-Sd; Sun, 18 Feb 2024 16:34:49 -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 1rbooB-00020I-Rd for guix-patches@gnu.org; Sun, 18 Feb 2024 16:34:47 -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 1rbooB-0003bU-JX for guix-patches@gnu.org; Sun, 18 Feb 2024 16:34:47 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbooW-0004j5-8o; Sun, 18 Feb 2024 16:35:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH 057/228] gnu: Add rust-hyper-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:35:08 +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.170829207517969 (code B ref 69257); Sun, 18 Feb 2024 21:35:08 +0000 Received: (at 69257) by debbugs.gnu.org; 18 Feb 2024 21:34:35 +0000 Received: from localhost ([127.0.0.1]:39744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbonz-0004ff-3j for submit@debbugs.gnu.org; Sun, 18 Feb 2024 16:34:35 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56735 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboO1-0002uT-TS 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=1708290437; 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=OTCa1pyDyP2bLZj2FHgteEAYEO1XUxhPbP/84afZEPA=; b=eSyFzYrWNcWbX2v1mkgTvHGsf/JICG3bhUlipE7WYMxob+kWezQoFdvdzcQ9+e+80PEvAm +bNXS2En3/iM9dzTihr05s2U0J1k0Jox5CPySwgpTFZW8bppRWs29t0aA10mtUcYHI7nJ/ JiIKiV4CMvoJt9v7TnS1eCKHpfHOjSRFRtgmQLVk7f61p6bJYKa7+xOkUI7aqBqsEvGdjK ojrDTuSpADRV5QMq1it1fL4hCgCZN0aeYjbijTU+pcpuszMFCqnnrkm/cZ1UeuZrXoRUPt pAn73roIniy6qt/bNE3JX3QkcLBwgEd4sCSQ/CkgPM/TkA5eVGKmJylvJuIeIg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id e8534d3d (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 18 Feb 2024 21:07:17 +0000 (UTC) Date: Sun, 18 Feb 2024 22:02:55 +0100 Message-ID: <92be2386b8138ab3e9d380a2f0d3e033692c6491.1708288184.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-hyper-1): Add variable. (rust-hyper-0.14): Inherit rust-hyper-1. Change-Id: I4a803247155cae29dab9e9d4bcf915196d8ee31f --- gnu/packages/crates-web.scm | 50 +++++++++++++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index fe2693b208..a35f0b8c25 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2559,8 +2559,52 @@ (define-public rust-httpdate-1 "This crates parses and formats HTTP datetime strings.") (license (list license:expat license:asl2.0)))) +(define-public rust-hyper-1 + (package + (name "rust-hyper") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xgv4bjm78w50wp2rcxc4dg69nw6blx6hyyqkqd7p4gwf4waanpv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-h2" ,rust-h2-0.4) + ("rust-http" ,rust-http-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-httparse" ,rust-httparse-1) + ("rust-httpdate" ,rust-httpdate-1) + ("rust-itoa" ,rust-itoa-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-want" ,rust-want-0.3)) + #:cargo-development-inputs + (("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-spmc" ,rust-spmc-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4) + ("rust-tokio-util" ,rust-tokio-util-0.7)))) + (home-page "https://hyper.rs") + (synopsis "Fast and correct HTTP library") + (description "This package provides a fast and correct HTTP library.") + (license license:expat))) + (define-public rust-hyper-0.14 (package + (inherit rust-hyper-1) (name "rust-hyper") (version "0.14.27") (source @@ -2603,11 +2647,7 @@ (define-public rust-hyper-0.14 ("rust-tokio-test" ,rust-tokio-test-0.4) ("rust-tokio-util" ,rust-tokio-util-0.7) ("rust-tower" ,rust-tower-0.4) - ("rust-url" ,rust-url-2)))) - (home-page "https://hyper.rs") - (synopsis "Fast and correct HTTP library") - (description "This package provides a fast and correct HTTP library.") - (license license:expat))) + ("rust-url" ,rust-url-2)))))) (define-public rust-hyper-0.13 (package